aboutsummaryrefslogtreecommitdiff
path: root/ubi-utils/src
diff options
context:
space:
mode:
Diffstat (limited to 'ubi-utils/src')
-rw-r--r--ubi-utils/src/ubimirror.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubi-utils/src/ubimirror.c b/ubi-utils/src/ubimirror.c
index 2cc4596..a20e1af 100644
--- a/ubi-utils/src/ubimirror.c
+++ b/ubi-utils/src/ubimirror.c
@@ -203,7 +203,7 @@ main(int argc, char **argv) {
err_buf, sizeof(err_buf));
if( rc ){
err_buf[sizeof err_buf - 1] = '\0';
- fprintf(stderr, err_buf);
+ fprintf(stderr, "%s", err_buf);
if( rc < 0 )
rc = -rc;
}