mdbx: fix typo.

Change-Id: I46344bf13a71b04b32d84bf0e0bc0a34ae6ef162
This commit is contained in:
Leo Yuriev 2016-11-27 12:56:27 +03:00
parent 7ea16c1daf
commit e381191c0f

View File

@ -52,7 +52,7 @@ flagbit dbflags[] = {
static volatile sig_atomic_t gotsignal; static volatile sig_atomic_t gotsignal;
static void signal_hanlder( int sig ) { static void signal_handler( int sig ) {
(void) sig; (void) sig;
gotsignal = 1; gotsignal = 1;
} }
@ -660,13 +660,13 @@ int main(int argc, char *argv[])
usage(prog); usage(prog);
#ifdef SIGPIPE #ifdef SIGPIPE
signal(SIGPIPE, signal_hanlder); signal(SIGPIPE, signal_handler);
#endif #endif
#ifdef SIGHUP #ifdef SIGHUP
signal(SIGHUP, signal_hanlder); signal(SIGHUP, signal_handler);
#endif #endif
signal(SIGINT, signal_hanlder); signal(SIGINT, signal_handler);
signal(SIGTERM, signal_hanlder); signal(SIGTERM, signal_handler);
envname = argv[optind]; envname = argv[optind];
print("Running mdbx_chk for '%s' in %s mode...\n", print("Running mdbx_chk for '%s' in %s mode...\n",