summaryrefslogtreecommitdiffstats
path: root/disk-utils/sfdisk.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:33:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:33:32 +0000
commit8bb05ac73a5b448b339ce0bc8d396c82c459b47f (patch)
tree1fdda006866bca20d41cb206767ea5241e36852f /disk-utils/sfdisk.c
parentAdding debian version 2.39.3-11. (diff)
downloadutil-linux-8bb05ac73a5b448b339ce0bc8d396c82c459b47f.tar.xz
util-linux-8bb05ac73a5b448b339ce0bc8d396c82c459b47f.zip
Merging upstream version 2.40.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--disk-utils/sfdisk.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/disk-utils/sfdisk.c b/disk-utils/sfdisk.c
index 0e85e63..d8dd8d2 100644
--- a/disk-utils/sfdisk.c
+++ b/disk-utils/sfdisk.c
@@ -2105,12 +2105,12 @@ static void __attribute__((__noreturn__)) usage(void)
fputs(_(" -u, --unit S deprecated, only sector unit is supported\n"), out);
fputs(USAGE_SEPARATOR, out);
- printf( " -h, --help %s\n", USAGE_OPTSTR_HELP);
- printf( " -v, --version %s\n", USAGE_OPTSTR_VERSION);
+ fprintf(out, " -h, --help %s\n", USAGE_OPTSTR_HELP);
+ fprintf(out, " -v, --version %s\n", USAGE_OPTSTR_VERSION);
list_available_columns(out);
- printf(USAGE_MAN_TAIL("sfdisk(8)"));
+ fprintf(out, USAGE_MAN_TAIL("sfdisk(8)"));
exit(EXIT_SUCCESS);
}
@@ -2474,4 +2474,3 @@ int main(int argc, char *argv[])
DBG(MISC, ul_debug("bye! [rc=%d]", rc));
return rc == 0 ? EXIT_SUCCESS : EXIT_FAILURE;
}
-