diff options
author | Karel Zak | 2010-12-10 16:47:18 +0100 |
---|---|---|
committer | Karel Zak | 2010-12-10 16:47:18 +0100 |
commit | abafd68667a965c033c5cef0646482433f6994b5 (patch) | |
tree | 7be1e393db96bf3e740d161ebae39de844ad3ae4 /partx/partx.c | |
parent | chfn: Use EXIT_* and err() (diff) | |
download | kernel-qcow2-util-linux-abafd68667a965c033c5cef0646482433f6994b5.tar.gz kernel-qcow2-util-linux-abafd68667a965c033c5cef0646482433f6994b5.tar.xz kernel-qcow2-util-linux-abafd68667a965c033c5cef0646482433f6994b5.zip |
fix __noreturn__ usage
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'partx/partx.c')
-rw-r--r-- | partx/partx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/partx/partx.c b/partx/partx.c index 031b285e7..85590c2b8 100644 --- a/partx/partx.c +++ b/partx/partx.c @@ -588,7 +588,7 @@ static blkid_partlist get_partlist(blkid_probe pr, return ls; } -static int __attribute__((__noreturn__)) usage(FILE *out) +static void __attribute__((__noreturn__)) usage(FILE *out) { int i; @@ -622,7 +622,7 @@ static int __attribute__((__noreturn__)) usage(FILE *out) exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); } -static int __attribute__((__noreturn__)) +static void __attribute__((__noreturn__)) errx_mutually_exclusive(const char *opts) { errx(EXIT_FAILURE, "%s %s", opts, _("options are mutually exclusive")); |