1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

ctdb/utils/smnotify/smnotify.c: typo fixes

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
Björn Jacke 2019-10-26 02:41:09 +02:00 committed by Bjoern Jacke
parent 1e73161bdd
commit a456c2bb02

View File

@ -34,7 +34,7 @@ static int stateval = 0;
static int clientport = 0; static int clientport = 0;
static int sendport = 0; static int sendport = 0;
static void useage(void) static void usage(void)
{ {
exit(0); exit(0);
} }
@ -95,22 +95,22 @@ int main(int argc, const char *argv[])
if (client == NULL) { if (client == NULL) {
printf("ERROR: client not specified\n"); printf("ERROR: client not specified\n");
useage(); usage();
} }
if (ip == NULL) { if (ip == NULL) {
printf("ERROR: ip not specified\n"); printf("ERROR: ip not specified\n");
useage(); usage();
} }
if (server == NULL) { if (server == NULL) {
printf("ERROR: server not specified\n"); printf("ERROR: server not specified\n");
useage(); usage();
} }
if (stateval == 0) { if (stateval == 0) {
printf("ERROR: stateval not specified\n"); printf("ERROR: stateval not specified\n");
useage(); usage();
} }