]> err.no Git - util-linux/commitdiff
mount: mark die() as nonreturn
authorKarel Zak <kzak@redhat.com>
Tue, 23 Nov 2010 18:42:33 +0000 (19:42 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 23 Nov 2010 18:42:33 +0000 (19:42 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
mount/sundries.c

index 98f46949e0b65f2e2845e8a64a664f798b2ec954..4cf308992879fa79d85f43b3b771a8f38a3b5228 100644 (file)
@@ -115,7 +115,7 @@ error (const char *fmt, ...) {
 }
 
 /* Fatal error.  Print message and exit.  */
-void
+ __attribute__ ((noreturn)) void
 die(int err, const char *fmt, ...) {
        va_list args;