Fix typo in WIFSIGNALED (as per Waider's report)
authorAlexander Bokovoy <ab@samba.org>
Thu, 13 Feb 2003 16:29:12 +0000 (16:29 +0000)
committerAlexander Bokovoy <ab@samba.org>
Thu, 13 Feb 2003 16:29:12 +0000 (16:29 +0000)
source/client/smbmount.c

index b9d8e7be616badaa43416930f8275c216ed41037..508521bedc164d75268fd65940cad4ef772b3c32 100644 (file)
@@ -507,7 +507,7 @@ static void init_mount(void)
                fprintf(stderr,"smbmnt failed: %d\n", WEXITSTATUS(status));
                /* FIXME: do some proper error handling */
                exit(1);
-       } else if (WIFSIGNALLED(status)) {
+       } else if (WIFSIGNALED(status)) {
                fprintf(stderr, "smbmnt killed by signal %d\n", WTERMSIG(status));
                exit(1);
        }