summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/write/write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/write/write.c b/usr.bin/write/write.c
index 66ed06917f4..3dc298f8cd1 100644
--- a/usr.bin/write/write.c
+++ b/usr.bin/write/write.c
@@ -97,7 +97,7 @@ main(argc, argv)
if (term_chk(mytty, &msgsok, &atime, 1))
exit(1);
if (!msgsok)
- errx(1, "you have write permission turned off");
+ warnx("you have write permission turned off");
myuid = getuid();