Signed-off-by: Sami Kerola <kerolasa@xxxxxx> --- fdisks/fdisk.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fdisks/fdisk.c b/fdisks/fdisk.c index 32b6de9..7fca5b6 100644 --- a/fdisks/fdisk.c +++ b/fdisks/fdisk.c @@ -159,7 +159,8 @@ static void __attribute__ ((__noreturn__)) usage(FILE *out) exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); } -void fatal(struct fdisk_context *cxt, enum failure why) +void __attribute__((__noreturn__)) +fatal(struct fdisk_context *cxt, enum failure why) { close(cxt->dev_fd); switch (why) { -- 1.7.11.3 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html