commit: eb2e0676cd162af963a3cb2fad48ba3f458b4c4c
parent: f2c5d6627169cbe3912fe62366ae76c8704e415e
author: Brian Callahan <dodonpachi-github@mailinator.com>
date: Sat, 13 Jun 2015 14:20:54 -0400
FreeBSD/DragonFly BSD has an array one char larger than OpenBSD. Fix that.
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/portable/freebsd/freebsd.h b/portable/freebsd/freebsd.h
@@ -7,5 +7,5 @@
#include <time.h>
/* Defines */
-#define _PW_NAME_LEN MAXLOGNAME
+#define _PW_NAME_LEN MAXLOGNAME - 1
#define srand_deterministic(x) srand(x)