Skip to content

Commit

Permalink
FreeBSD/DragonFly BSD has an array one char larger than OpenBSD. Fix …
Browse files Browse the repository at this point in the history
…that.
  • Loading branch information
Brian Callahan committed Jun 13, 2015
1 parent f2c5d66 commit eb2e067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion portable/freebsd/freebsd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit eb2e067

Please sign in to comment.