Fixed typo in an error info
This commit is contained in:
parent
52b07e2fca
commit
448cdeb3d1
|
@ -303,7 +303,7 @@ writepid()
|
||||||
|
|
||||||
fd = open(LOCKFILE, O_RDWR|O_CREAT, 0644);
|
fd = open(LOCKFILE, O_RDWR|O_CREAT, 0644);
|
||||||
if (fd == -1) {
|
if (fd == -1) {
|
||||||
perror("writepid - fd");
|
perror("writepid - open");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
fl.l_type = F_WRLCK;
|
fl.l_type = F_WRLCK;
|
||||||
|
|
Loading…
Reference in a new issue