summaryrefslogtreecommitdiff
path: root/usr.bin/lock
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2019-07-21 14:39:33 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2019-07-21 14:39:33 +0000
commit711c20708d77faebe650a9a370d057dcf35ce015 (patch)
tree01c9c9e5443a1789ba76098e831f9ae172e1cc16 /usr.bin/lock
parent7d1061e4a67b45bdd73e02eb5687c7307e3ded96 (diff)
Amend comment: entering the root password won't unlock the terminal
Mention -p (user password) while here.
Diffstat (limited to 'usr.bin/lock')
-rw-r--r--usr.bin/lock/lock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/lock/lock.c b/usr.bin/lock/lock.c
index ae6eff4c36d..3a739cdc6ba 100644
--- a/usr.bin/lock/lock.c
+++ b/usr.bin/lock/lock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lock.c,v 1.43 2019/07/19 18:32:19 cheloha Exp $ */
+/* $OpenBSD: lock.c,v 1.44 2019/07/21 14:39:32 jca Exp $ */
/* $NetBSD: lock.c,v 1.8 1996/05/07 18:32:31 jtc Exp $ */
/*
@@ -34,8 +34,8 @@
*/
/*
- * Lock a terminal up until the given key is entered, until the root
- * password is entered, or the given interval times out.
+ * Lock a terminal up until the given key or user password is entered,
+ * or the given interval times out.
*/
#include <sys/stat.h>