summaryrefslogtreecommitdiffstats
path: root/usr.bin/at/at.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/at/at.c')
-rw-r--r--usr.bin/at/at.c4
1 files changed, 2 insertions, 2 deletions
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 <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 */
OpenPOWER on IntegriCloud