diff options
Diffstat (limited to 'usr.sbin/mrouted/prune.c')
-rw-r--r-- | usr.sbin/mrouted/prune.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/mrouted/prune.c b/usr.sbin/mrouted/prune.c index e1676395631..321c4e0720c 100644 --- a/usr.sbin/mrouted/prune.c +++ b/usr.sbin/mrouted/prune.c @@ -1859,7 +1859,7 @@ scaletime(u_long t) if (t > 999) return "*** "; - sprintf(p,"%3d%c", (int)t, s); + snprintf(p, 5, "%3d%c", (int)t, s); return p; } |