diff options
author | 2002-02-20 02:00:01 +0000 | |
---|---|---|
committer | 2002-02-20 02:00:01 +0000 | |
commit | f228564bc306a5ee16f3ba00c2b003d26eda8785 (patch) | |
tree | 4be48c53ba725ae71a3264c8707cd59b8d7c8d5e | |
parent | Tweak mvme88k and sparc64 specific settings. (diff) | |
download | wireguard-openbsd-f228564bc306a5ee16f3ba00c2b003d26eda8785.tar.xz wireguard-openbsd-f228564bc306a5ee16f3ba00c2b003d26eda8785.zip |
Revert 1.10, bad mpech@ didn't try to compile.
-rw-r--r-- | usr.sbin/rbootd/rbootd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/rbootd/rbootd.c b/usr.sbin/rbootd/rbootd.c index 424b38a8e72..eda0595832e 100644 --- a/usr.sbin/rbootd/rbootd.c +++ b/usr.sbin/rbootd/rbootd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rbootd.c,v 1.11 2002/02/19 21:04:09 miod Exp $ */ +/* $OpenBSD: rbootd.c,v 1.12 2002/02/20 02:00:01 miod Exp $ */ /* $NetBSD: rbootd.c,v 1.5 1995/10/06 05:12:17 thorpej Exp $ */ /* @@ -55,7 +55,7 @@ static char copyright[] = #ifndef lint /*static char sccsid[] = "@(#)rbootd.c 8.1 (Berkeley) 6/4/93";*/ -static char rcsid[] = "$OpenBSD: rbootd.c,v 1.11 2002/02/19 21:04:09 miod Exp $"; +static char rcsid[] = "$OpenBSD: rbootd.c,v 1.12 2002/02/20 02:00:01 miod Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -184,7 +184,7 @@ main(argc, argv) /* * Grab our host name and pid. */ - if (gethostname(MyHost, sizeof(MyHost)) < 0) { + if (gethostname(MyHost, MAXHOSTNAMELEN) < 0) { syslog(LOG_ERR, "gethostname: %m"); DoExit(); } |