Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/at Fix typo in error message.



details:   https://anonhg.NetBSD.org/src/rev/523fcd9ec7c0
branches:  trunk
changeset: 830103:523fcd9ec7c0
user:      htodd <htodd%NetBSD.org@localhost>
date:      Sun Feb 25 23:48:16 2018 +0000

description:
Fix typo in error message.

diffstat:

 usr.bin/at/privs.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r b144e57e3c67 -r 523fcd9ec7c0 usr.bin/at/privs.c
--- a/usr.bin/at/privs.c        Sun Feb 25 22:00:22 2018 +0000
+++ b/usr.bin/at/privs.c        Sun Feb 25 23:48:16 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: privs.c,v 1.2 2016/03/13 00:33:12 dholland Exp $       */
+/*     $NetBSD: privs.c,v 1.3 2018/02/25 23:48:16 htodd Exp $  */
 
 /*
  *  privs.c - privileged operations
@@ -78,9 +78,9 @@
 privs_exit(void)
 {
        if (setegid(real_gid) == -1)
-               privs_fail("Cannot relinguish group privs");
+               privs_fail("Cannot relinquish group privs");
        if (seteuid(real_uid) == -1)
-               privs_fail("Cannot relinguish user privs");
+               privs_fail("Cannot relinquish user privs");
 }
 
 void



Home | Main Index | Thread Index | Old Index