Use warn() instead of perror().
This commit is contained in:
parent
2136835712
commit
208f2fd1ed
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132180
@ -132,7 +132,7 @@ main(int argc, char **argv)
|
||||
if (child == 0) { /* The child process. */
|
||||
close(lockfd);
|
||||
execvp(argv[0], argv);
|
||||
perror(argv[0]);
|
||||
warn("%s", argv[0]);
|
||||
_exit(1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user