forgot to change the _PATH lines.
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Mon, 25 Jun 1990 14:30:50 +0000 (06:30 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Mon, 25 Jun 1990 14:30:50 +0000 (06:30 -0800)
SCCS-vsn: libexec/comsat/comsat.c 5.22

usr/src/libexec/comsat/comsat.c

index c234eec..31ab486 100644 (file)
@@ -12,7 +12,7 @@ char copyright[] =
 #endif /* not lint */
 
 #ifndef lint
 #endif /* not lint */
 
 #ifndef lint
-static char sccsid[] = "@(#)comsat.c   5.21 (Berkeley) %G%";
+static char sccsid[] = "@(#)comsat.c   5.22 (Berkeley) %G%";
 #endif /* not lint */
 
 #include <sys/param.h>
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -64,8 +64,8 @@ main(argc, argv)
                exit(1);
        }
        openlog("comsat", LOG_PID, LOG_DAEMON);
                exit(1);
        }
        openlog("comsat", LOG_PID, LOG_DAEMON);
-       if (chdir(_PATH_MAIL)) {
-               syslog(LOG_ERR, "chdir: %s: %m", _PATH_MAIL);
+       if (chdir(_PATH_MAILDIR)) {
+               syslog(LOG_ERR, "chdir: %s: %m", _PATH_MAILDIR);
                exit(1);
        }
        if ((uf = open(_PATH_UTMP, O_RDONLY, 0)) < 0) {
                exit(1);
        }
        if ((uf = open(_PATH_UTMP, O_RDONLY, 0)) < 0) {