Group :: System/Kernel and hardware
RPM: reiser4progs
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: reiser4progs-1.1.0-alt-format.patch
Download
Download
diff --git a/reiser4progs/libmisc/ui.c b/reiser4progs/libmisc/ui.c
index 929739c..2d0f825 100644
--- a/reiser4progs/libmisc/ui.c
+++ b/reiser4progs/libmisc/ui.c
@@ -58,7 +58,7 @@ char *misc_readline(
add_history(line);
}
#else
- fprintf(stream, prompt);
+ fprintf(stream, "%s", prompt);
if (!(line = aal_calloc(256, 0)))
return NULL;
@@ -116,7 +116,7 @@ void misc_print_wrap(void *stream, char *text) {
line_width = 0;
}
- fprintf(stream, word);
+ fprintf(stream, "%s", word);
line_width += aal_strlen(word);
diff --git a/reiser4progs/progs/debugfs/browse.c b/reiser4progs/progs/debugfs/browse.c
index ea48296..1da7d3c 100644
--- a/reiser4progs/progs/debugfs/browse.c
+++ b/reiser4progs/progs/debugfs/browse.c
@@ -27,7 +27,7 @@ static errno_t debugfs_reg_cat(reiser4_object_t *object) {
if (read <= 0)
break;
- printf(buff);
+ printf("%s", buff);
}
return 0;
diff --git a/reiser4progs/progs/debugfs/print.c b/reiser4progs/progs/debugfs/print.c
index 11827b1..fc96212 100644
--- a/reiser4progs/progs/debugfs/print.c
+++ b/reiser4progs/progs/debugfs/print.c
@@ -24,7 +24,7 @@ errno_t debugfs_print_stream(aal_stream_t *stream) {
if ((size = aal_stream_read(stream, buff, size)) <= 0)
return size;
- printf(buff);
+ printf("%s", buff);
}
return 0;