]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - sys-utils/pivot_root.c
Make the ways of using output stream consistent in usage()
[thirdparty/util-linux.git] / sys-utils / pivot_root.c
index aef1b12bb9db51eb33edf50786692b14734421f5..6462a5b95f2925bec15716fb75b9a80dd77ba439 100644 (file)
@@ -38,8 +38,8 @@ static void __attribute__((__noreturn__)) usage(void)
        fputs(_("Change the root filesystem.\n"), out);
 
        fputs(USAGE_OPTIONS, out);
-       printf(USAGE_HELP_OPTIONS(16));
-       printf(USAGE_MAN_TAIL("pivot_root(8)"));
+       fprintf(out, USAGE_HELP_OPTIONS(16));
+       fprintf(out, USAGE_MAN_TAIL("pivot_root(8)"));
        exit(EXIT_SUCCESS);
 }