Use warn() instead of perror().

This commit is contained in:
tjr 2004-07-15 04:51:21 +00:00
parent f478e0fbc2
commit 508b8bed27

View File

@ -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);
}