diff options
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/startslip/uucplock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/startslip/uucplock.c b/sbin/startslip/uucplock.c index 5dffefc..20a8239 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)); } |