From f025e3089901a5789c9c9dc73aa1d0164755052b Mon Sep 17 00:00:00 2001 From: Kevin Steves Date: Tue, 28 May 2002 21:24:01 +0000 Subject: use correct function name in fatal() --- usr.bin/ssh/uidswap.c | 4 ++-- 1 file 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) -- cgit v1.2.3