mirror of
https://github.com/isar/libmdbx.git
synced 2024-10-30 11:29:19 +08:00
mdbx: fix typo.
Change-Id: I46344bf13a71b04b32d84bf0e0bc0a34ae6ef162
This commit is contained in:
parent
7ea16c1daf
commit
e381191c0f
10
mdb_chk.c
10
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",
|
||||
|
Loading…
Reference in New Issue
Block a user