summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-11-03 07:02:45 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-11-03 07:02:45 +0000
commit229b3e62eda218a15aef8d6c9dd318003a1b5cf5 (patch)
tree9478e14bc338092adfb6ae161e71cd5e27eab4fe
parent0bd5a83eeaa6d68965d3f62ae717ad2b5c0965d3 (diff)
be more clear about what getpwnam failed; ok claudio
-rw-r--r--usr.sbin/rtadvd/rtadvd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rtadvd/rtadvd.c b/usr.sbin/rtadvd/rtadvd.c
index c2b67d3f473..0a61392cf32 100644
--- a/usr.sbin/rtadvd/rtadvd.c
+++ b/usr.sbin/rtadvd/rtadvd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtadvd.c,v 1.36 2008/06/09 22:53:24 rainer Exp $ */
+/* $OpenBSD: rtadvd.c,v 1.37 2008/11/03 07:02:44 deraadt Exp $ */
/* $KAME: rtadvd.c,v 1.66 2002/05/29 14:18:36 itojun Exp $ */
/*
@@ -230,7 +230,7 @@ main(argc, argv)
rtsock = -1;
if ((pw = getpwnam(RTADVD_USER)) == NULL)
- fatal("getpwnam");
+ fatal("getpwnam(" RTADVD_USER ")");
if (chroot(pw->pw_dir) == -1)
fatal("chroot");
if (chdir("/") == -1)