summaryrefslogtreecommitdiff
path: root/usr.bin/ssh
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2002-05-28 21:24:01 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2002-05-28 21:24:01 +0000
commitf025e3089901a5789c9c9dc73aa1d0164755052b (patch)
tree486b6cfd9ea933e3d662f54434944a443d4c55da /usr.bin/ssh
parente247e73592f39d1a8d401f8538ffa75e8fa594f9 (diff)
use correct function name in fatal()
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r--usr.bin/ssh/uidswap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/uidswap.c b/usr.bin/ssh/uidswap.c
index 8d8ba1e99e0..ab43cbadd20 100644
--- a/usr.bin/ssh/uidswap.c
+++ b/usr.bin/ssh/uidswap.c
@@ -12,7 +12,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: uidswap.c,v 1.21 2002/05/28 17:28:02 stevesk Exp $");
+RCSID("$OpenBSD: uidswap.c,v 1.22 2002/05/28 21:24:00 stevesk Exp $");
#include "log.h"
#include "uidswap.h"
@@ -109,7 +109,7 @@ void
permanently_set_uid(struct passwd *pw)
{
if (temporarily_use_uid_effective)
- fatal("restore_uid: temporarily_use_uid effective");
+ fatal("permanently_set_uid: temporarily_use_uid effective");
if (setgid(pw->pw_gid) < 0)
fatal("setgid %u: %.100s", (u_int)pw->pw_gid, strerror(errno));
if (setuid(pw->pw_uid) < 0)