]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - disk-utils/swaplabel.c
Make the ways of using output stream consistent in usage()
[thirdparty/util-linux.git] / disk-utils / swaplabel.c
index e6ba7d66d7f12f57e87f158decc659276cb5f4cc..b804a92bc31de459b9781febb3fb87c9af54c6fb 100644 (file)
@@ -130,8 +130,8 @@ static void __attribute__((__noreturn__)) usage(void)
        fputs(_(" -L, --label <label> specify a new label\n"
                " -U, --uuid <uuid>   specify a new uuid\n"), out);
        fputs(USAGE_SEPARATOR, out);
-       printf(USAGE_HELP_OPTIONS(21));
-       printf(USAGE_MAN_TAIL("swaplabel(8)"));
+       fprintf(out, USAGE_HELP_OPTIONS(21));
+       fprintf(out, USAGE_MAN_TAIL("swaplabel(8)"));
        exit(EXIT_SUCCESS);
 }
 
@@ -191,4 +191,3 @@ int main(int argc, char *argv[])
        }
        return rc ? EXIT_FAILURE : EXIT_SUCCESS;
 }
-