summaryrefslogtreecommitdiff
path: root/usr.sbin/cron/misc.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2015-01-14 17:27:31 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2015-01-14 17:27:31 +0000
commit0d4746936ec06236485d8677a1f7aeeb6e323542 (patch)
treeeab780d614584f41fb86163a8112e1466bd8169a /usr.sbin/cron/misc.c
parentefd9b848ca6aecfd28fead1ac2633e5b2ad07852 (diff)
Use standard types for wait, readdir, signals and pids.
Diffstat (limited to 'usr.sbin/cron/misc.c')
-rw-r--r--usr.sbin/cron/misc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/cron/misc.c b/usr.sbin/cron/misc.c
index ef1da72f82c..f3a1ef56cbb 100644
--- a/usr.sbin/cron/misc.c
+++ b/usr.sbin/cron/misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.c,v 1.49 2015/01/14 17:27:13 millert Exp $ */
+/* $OpenBSD: misc.c,v 1.50 2015/01/14 17:27:30 millert Exp $ */
/* Copyright 1988,1990,1993,1994 by Paul Vixie
* All rights reserved
@@ -432,9 +432,9 @@ allowed(const char *username, const char *allow_file, const char *deny_file) {
}
void
-log_it(const char *username, PID_T xpid, const char *event, const char *detail) {
+log_it(const char *username, pid_t xpid, const char *event, const char *detail) {
#if defined(LOG_FILE) || DEBUGGING
- PID_T pid = xpid;
+ pid_t pid = xpid;
#endif
#if defined(LOG_FILE)
char *msg;