From e381191c0fc3c6587b2379e26daeebb7b36792e9 Mon Sep 17 00:00:00 2001 From: Leo Yuriev Date: Sun, 27 Nov 2016 12:56:27 +0300 Subject: [PATCH] mdbx: fix typo. Change-Id: I46344bf13a71b04b32d84bf0e0bc0a34ae6ef162 --- mdb_chk.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mdb_chk.c b/mdb_chk.c index 4fe83ff0..b86b8f96 100644 --- a/mdb_chk.c +++ b/mdb_chk.c @@ -52,7 +52,7 @@ flagbit dbflags[] = { static volatile sig_atomic_t gotsignal; -static void signal_hanlder( int sig ) { +static void signal_handler( int sig ) { (void) sig; gotsignal = 1; } @@ -660,13 +660,13 @@ int main(int argc, char *argv[]) usage(prog); #ifdef SIGPIPE - signal(SIGPIPE, signal_hanlder); + signal(SIGPIPE, signal_handler); #endif #ifdef SIGHUP - signal(SIGHUP, signal_hanlder); + signal(SIGHUP, signal_handler); #endif - signal(SIGINT, signal_hanlder); - signal(SIGTERM, signal_hanlder); + signal(SIGINT, signal_handler); + signal(SIGTERM, signal_handler); envname = argv[optind]; print("Running mdbx_chk for '%s' in %s mode...\n",