summaryrefslogtreecommitdiff
path: root/usr.bin/lockf
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2004-07-15 04:51:21 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2004-07-15 04:51:21 +0000
commit208f2fd1ed5a88a11413c49834d2c37c289f9c7e (patch)
tree6193a7305909c1584715ec8ec7f1e72b2a58702b /usr.bin/lockf
parent213683571222a0b4d4b007a18200b57c088f69e6 (diff)
downloadsrc-test2-208f2fd1ed5a88a11413c49834d2c37c289f9c7e.tar.gz
src-test2-208f2fd1ed5a88a11413c49834d2c37c289f9c7e.zip
Notes
Diffstat (limited to 'usr.bin/lockf')
-rw-r--r--usr.bin/lockf/lockf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/lockf/lockf.c b/usr.bin/lockf/lockf.c
index 257af52b3620..6995d0abfba4 100644
--- a/usr.bin/lockf/lockf.c
+++ b/usr.bin/lockf/lockf.c
@@ -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);
}