summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdtime/private.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/stdtime/private.h b/lib/libc/stdtime/private.h
index d8fa906..f1d7125 100644
--- a/lib/libc/stdtime/private.h
+++ b/lib/libc/stdtime/private.h
@@ -1,3 +1,5 @@
+/* $FreeBSD$ */
+
#ifndef PRIVATE_H
#define PRIVATE_H
@@ -166,7 +168,7 @@ static char privatehid[] = "@(#)private.h 7.43";
** add one more for a minus sign if the type is signed.
*/
#define INT_STRLEN_MAXIMUM(type) \
- ((TYPE_BIT(type) - TYPE_SIGNED(type)) * 302 / 100 + 1 + TYPE_SIGNED(type))
+ ((TYPE_BIT(type) - TYPE_SIGNED(type)) * 302 / 1000 + 1 + TYPE_SIGNED(type))
#endif /* !defined INT_STRLEN_MAXIMUM */
/*
OpenPOWER on IntegriCloud