]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - disk-utils/resizepart.c
Make the ways of using output stream consistent in usage()
[thirdparty/util-linux.git] / disk-utils / resizepart.c
index b2738271e25da14c3cf4f82d234f6c123c9ebc5d..df5ee73069f350619f87945b02dc00bf5dd9d7dd 100644 (file)
@@ -24,8 +24,8 @@ static void __attribute__((__noreturn__)) usage(void)
        fputs(_("Tell the kernel about the new size of a partition.\n"), out);
 
        fputs(USAGE_OPTIONS, out);
-       printf(USAGE_HELP_OPTIONS(16));
-       printf(USAGE_MAN_TAIL("resizepart(8)"));
+       fprintf(out, USAGE_HELP_OPTIONS(16));
+       fprintf(out, USAGE_MAN_TAIL("resizepart(8)"));
        exit(EXIT_SUCCESS);
 }