From a456c2bb02af56ab3d966d673421aab976e632ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Jacke?= Date: Sat, 26 Oct 2019 02:41:09 +0200 Subject: [PATCH] ctdb/utils/smnotify/smnotify.c: typo fixes Signed-off-by: Bjoern Jacke Reviewed-by: Martin Schwenke --- ctdb/utils/smnotify/smnotify.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ctdb/utils/smnotify/smnotify.c b/ctdb/utils/smnotify/smnotify.c index 43ca7f37c6f..5907bd6e8d6 100644 --- a/ctdb/utils/smnotify/smnotify.c +++ b/ctdb/utils/smnotify/smnotify.c @@ -34,7 +34,7 @@ static int stateval = 0; static int clientport = 0; static int sendport = 0; -static void useage(void) +static void usage(void) { exit(0); } @@ -95,22 +95,22 @@ int main(int argc, const char *argv[]) if (client == NULL) { printf("ERROR: client not specified\n"); - useage(); + usage(); } if (ip == NULL) { printf("ERROR: ip not specified\n"); - useage(); + usage(); } if (server == NULL) { printf("ERROR: server not specified\n"); - useage(); + usage(); } if (stateval == 0) { printf("ERROR: stateval not specified\n"); - useage(); + usage(); }