From 55eab3e23202c33eb144bfe6bf4c745fc4330a1b Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 8 May 2001 06:14:08 +0000 Subject: More compiler warning fixes. (This used to be commit 88a7b2c3f80b17ca8ab2112e9a98f55f1a11d88c) --- source3/smbd/oplock_linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/smbd/oplock_linux.c') diff --git a/source3/smbd/oplock_linux.c b/source3/smbd/oplock_linux.c index 5bf753d68c..9edeb1b513 100644 --- a/source3/smbd/oplock_linux.c +++ b/source3/smbd/oplock_linux.c @@ -52,9 +52,9 @@ static VOLATILE SIG_ATOMIC_T fd_pending; /* the fd of the current pending signal /**************************************************************************** handle a LEASE signal, incrementing the signals_received and blocking the signal ****************************************************************************/ -static void signal_handler(int signal, siginfo_t *info, void *unused) +static void signal_handler(int sig, siginfo_t *info, void *unused) { - BlockSignals(True, signal); + BlockSignals(True, sig); fd_pending = (SIG_ATOMIC_T)info->si_fd; signals_received++; sys_select_signal(); -- cgit