summaryrefslogtreecommitdiff
path: root/source3/smbd/notify_kernel.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-05-08 06:14:08 +0000
committerTim Potter <tpot@samba.org>2001-05-08 06:14:08 +0000
commit55eab3e23202c33eb144bfe6bf4c745fc4330a1b (patch)
tree854096b1e66f4b8b987a31172e0222d85386df54 /source3/smbd/notify_kernel.c
parentf39cb774e76dd54221119c43b3ff34e933983cf1 (diff)
downloadsamba-55eab3e23202c33eb144bfe6bf4c745fc4330a1b.tar.gz
samba-55eab3e23202c33eb144bfe6bf4c745fc4330a1b.tar.bz2
samba-55eab3e23202c33eb144bfe6bf4c745fc4330a1b.zip
More compiler warning fixes.
(This used to be commit 88a7b2c3f80b17ca8ab2112e9a98f55f1a11d88c)
Diffstat (limited to 'source3/smbd/notify_kernel.c')
-rw-r--r--source3/smbd/notify_kernel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/notify_kernel.c b/source3/smbd/notify_kernel.c
index 6509354e9b..ef4e47acf1 100644
--- a/source3/smbd/notify_kernel.c
+++ b/source3/smbd/notify_kernel.c
@@ -62,9 +62,9 @@ struct change_data {
/****************************************************************************
the signal handler for change notify
*****************************************************************************/
-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();