debugfs.c (print_features): Use fputs instead of printf to output
using the passed-in FILE *.
+2001-05-12 Theodore Tso <tytso@valinux.com>
+
+ * debugfs.c (print_features): Use fputs instead of printf to
+ output using the passed-in FILE *.
+
2001-05-09 Theodore Tso <tytso@valinux.com>
* debugfs.c (do_write, do_mknod): Set the file type information
int i, j, printed=0;
__u32 *mask = &s->s_feature_compat, m;
- printf ("Filesystem features:");
+ fputs("Filesystem features:", f);
for (i=0; i <3; i++,mask++) {
for (j=0,m=1; j < 32; j++, m<<=1) {
if (*mask & m) {
}
}
if (printed == 0)
- printf("(none)");
- printf("\n");
+ fputs("(none)", f);
+ fputs("\n", f);
}
void do_show_super_stats(int argc, char *argv[])