diff options
Diffstat (limited to '')
-rw-r--r-- | freebsd/contrib/tcpdump/util-print.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/freebsd/contrib/tcpdump/util-print.c b/freebsd/contrib/tcpdump/util-print.c index 7a5269dd..8a995534 100644 --- a/freebsd/contrib/tcpdump/util-print.c +++ b/freebsd/contrib/tcpdump/util-print.c @@ -401,9 +401,9 @@ void unsigned_relts_print(netdissect_options *ndo, uint32_t secs) { - static const char *lengths[] = {"y", "w", "d", "h", "m", "s"}; + static const char * const lengths[] = {"y", "w", "d", "h", "m", "s"}; static const u_int seconds[] = {31536000, 604800, 86400, 3600, 60, 1}; - const char **l = lengths; + const char * const *l = lengths; const u_int *s = seconds; if (secs == 0) { |