summaryrefslogtreecommitdiff
path: root/e2fsprogs/old_e2fsprogs
diff options
context:
space:
mode:
authorDenis Vlasenko2007-09-30 16:22:36 +0000
committerDenis Vlasenko2007-09-30 16:22:36 +0000
commit605b20e277c558eb284595aacbcd3c21168894d3 (patch)
tree11869f7d7a674459627eeeb5a30500ac45c10cf4 /e2fsprogs/old_e2fsprogs
parent1eecaf26b0025e91183f18dc5fd686e8832f8ee2 (diff)
downloadbusybox-605b20e277c558eb284595aacbcd3c21168894d3.zip
busybox-605b20e277c558eb284595aacbcd3c21168894d3.tar.gz
replace printf with fputs where appropriate
Diffstat (limited to 'e2fsprogs/old_e2fsprogs')
-rw-r--r--e2fsprogs/old_e2fsprogs/e2fsck.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/e2fsprogs/old_e2fsprogs/e2fsck.c b/e2fsprogs/old_e2fsprogs/e2fsck.c
index 61db53e..4887a57 100644
--- a/e2fsprogs/old_e2fsprogs/e2fsck.c
+++ b/e2fsprogs/old_e2fsprogs/e2fsck.c
@@ -2654,7 +2654,7 @@ static void expand_percent_expression(ext2_filsys fs, char ch,
printf("%u", ctx->ino2);
break;
case 'm':
- printf("%s", error_message(ctx->errcode));
+ fputs(error_message(ctx->errcode), stdout);
break;
case 'N':
printf("%"PRIi64, ctx->num);
@@ -2676,7 +2676,7 @@ static void expand_percent_expression(ext2_filsys fs, char ch,
printf("%d", get_backup_sb(NULL, fs, NULL, NULL));
break;
case 's':
- printf("%s", ctx->str ? ctx->str : "NULL");
+ fputs((ctx->str ? ctx->str : "NULL"), stdout);
break;
case 'X':
printf("0x%"PRIi64, ctx->num);