1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

Fix typo in WIFSIGNALED (as per Waider's report)

This commit is contained in:
Alexander Bokovoy 0001-01-01 00:00:00 +00:00
parent d079edf732
commit 4463ffeed9

View 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);
}