diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 1997-03-03 07:59:54 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 1997-03-03 07:59:54 +0000 |
commit | 08a77c42e1cd998af13b0ae7558349671c4086f7 (patch) | |
tree | 124c0a9bfc8a89192dbd53d5517d7bf354f4549b /usr.bin/at | |
parent | 27117f574eb6b6b12497f7a89299c612349c031e (diff) | |
download | src-08a77c42e1cd998af13b0ae7558349671c4086f7.tar.gz src-08a77c42e1cd998af13b0ae7558349671c4086f7.zip |
Back out MAXLOGNAME fix, Bruce points that copyinstr require NUL
Notes
Notes:
svn path=/head/; revision=23318
Diffstat (limited to 'usr.bin/at')
-rw-r--r-- | usr.bin/at/at.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/at/at.c b/usr.bin/at/at.c index 84e7dbde28a0..07bf7ffd1cc6 100644 --- a/usr.bin/at/at.c +++ b/usr.bin/at/at.c @@ -53,10 +53,10 @@ #include <locale.h> #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 */ |