summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/ns_ttl.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/net/ns_ttl.c')
-rw-r--r--lib/libc/net/ns_ttl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/net/ns_ttl.c b/lib/libc/net/ns_ttl.c
index 1ad4caf..79083b2 100644
--- a/lib/libc/net/ns_ttl.c
+++ b/lib/libc/net/ns_ttl.c
@@ -43,7 +43,7 @@ int
ns_format_ttl(u_long src, char *dst, size_t dstlen) {
char *odst = dst;
int secs, mins, hours, days, weeks, x;
- char tmp[50], *p;
+ char *p;
secs = src % 60; src /= 60;
mins = src % 60; src /= 60;
OpenPOWER on IntegriCloud