From 78407f0914803274187a7a3c3501d8bc38424168 Mon Sep 17 00:00:00 2001 From: ache Date: Mon, 3 Mar 1997 07:59:54 +0000 Subject: Back out MAXLOGNAME fix, Bruce points that copyinstr require NUL --- usr.bin/at/at.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/at/at.c') diff --git a/usr.bin/at/at.c b/usr.bin/at/at.c index 84e7dbd..07bf7ff 100644 --- a/usr.bin/at/at.c +++ b/usr.bin/at/at.c @@ -53,10 +53,10 @@ #include #endif -#if MAXLOGNAME > UT_NAMESIZE +#if (MAXLOGNAME-1) > UT_NAMESIZE #define LOGNAMESIZE UT_NAMESIZE #else -#define LOGNAMESIZE MAXLOGNAME +#define LOGNAMESIZE (MAXLOGNAME-1) #endif /* Local headers */ -- cgit v1.1