diff options
Diffstat (limited to 'usr.sbin/cron/cron/popen.c')
-rw-r--r-- | usr.sbin/cron/cron/popen.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/cron/cron/popen.c b/usr.sbin/cron/cron/popen.c index 06a7e04..34b2f02 100644 --- a/usr.sbin/cron/cron/popen.c +++ b/usr.sbin/cron/cron/popen.c @@ -24,8 +24,11 @@ */ #ifndef lint -static char rcsid[] = "$Id$"; +#if 0 static char sccsid[] = "@(#)popen.c 5.7 (Berkeley) 2/14/89"; +#endif +static const char rcsid[] = + "$Id$"; #endif /* not lint */ #include "cron.h" @@ -59,7 +62,7 @@ cron_popen(program, type) extern char **glob(), **copyblk(); #endif - if (*type != 'r' && *type != 'w' || type[1]) + if ((*type != 'r' && *type != 'w') || type[1]) return(NULL); if (!pids) { |