diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1995-09-23 15:17:32 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1995-09-23 15:17:32 +0000 |
| commit | feb1b301ec7269549cc64c3192e722205d03a704 (patch) | |
| tree | 86e60ef8dfc493b5647b1924e663e85110a9c72a | |
| parent | b8643b5a1b490c3fd945fd337d17ef9b69b832a0 (diff) | |
Notes
| -rw-r--r-- | sbin/startslip/uucplock.c | 4 | ||||
| -rw-r--r-- | usr.bin/tip/tip/pathnames.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sbin/startslip/uucplock.c b/sbin/startslip/uucplock.c index 5dffefc65e6c0..20a823915da9d 100644 --- a/sbin/startslip/uucplock.c +++ b/sbin/startslip/uucplock.c @@ -64,7 +64,7 @@ int uu_lock (char *ttyname) pid_t pid; char tbuf[MAXNAMLEN]; - (void)sprintf(tbuf, _PATH_LOCK LOCKFMT, ttyname); + (void)sprintf(tbuf, _PATH_UUCPLOCK LOCKFMT, ttyname); fd = open(tbuf, O_RDWR|O_CREAT|O_EXCL, 0660); if (fd < 0) { /* @@ -112,7 +112,7 @@ int uu_unlock (char *ttyname) { char tbuf[MAXNAMLEN]; - (void)sprintf(tbuf, _PATH_LOCK LOCKFMT, ttyname); + (void)sprintf(tbuf, _PATH_UUCPLOCK LOCKFMT, ttyname); return(unlink(tbuf)); } diff --git a/usr.bin/tip/tip/pathnames.h b/usr.bin/tip/tip/pathnames.h index abf1f330ad88c..0f9a15b1fa0f0 100644 --- a/usr.bin/tip/tip/pathnames.h +++ b/usr.bin/tip/tip/pathnames.h @@ -47,7 +47,7 @@ /* #define _PATH_LOCKDIRNAME "/etc/locks/LCK..%s" */ /* #define _PATH_LOCKDIRNAME "/usr/spool/locks/LCK..%s" */ /* #define _PATH_LOCKDIRNAME "/usr/spool/uucp/LCK/LCK..%s" */ -#define _PATH_LOCKDIRNAME _PATH_LOCK "LCK..%s" +#define _PATH_LOCKDIRNAME _PATH_UUCPLOCK "LCK..%s" /* Specify location for system wide databases |
