summaryrefslogtreecommitdiff
path: root/usr.bin/sudo
diff options
context:
space:
mode:
authorMike Pechkin <mpech@cvs.openbsd.org>2002-06-12 06:07:18 +0000
committerMike Pechkin <mpech@cvs.openbsd.org>2002-06-12 06:07:18 +0000
commit2c5359ee4336522c89649a8e017da3fdf87fa8bd (patch)
tree60aa07e4178dd0840349fe830f118d2cb64a1c6c /usr.bin/sudo
parentc22dc40df755f025740d14e001bb8599cf4a72c5 (diff)
a real pid_t cleanup.
espie@ ok for make/, deraadt@ one extra eye, millert@ ok
Diffstat (limited to 'usr.bin/sudo')
-rw-r--r--usr.bin/sudo/logging.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/sudo/logging.c b/usr.bin/sudo/logging.c
index 723d19e99fc..6e91107a902 100644
--- a/usr.bin/sudo/logging.c
+++ b/usr.bin/sudo/logging.c
@@ -437,7 +437,8 @@ send_mail(line)
{
FILE *mail;
char *p;
- int pfd[2], pid, status;
+ int pfd[2], status;
+ pid_t pid;
sigset_t set, oset;
#ifndef NO_ROOT_MAILER
static char *root_envp[] = {