diff options
author | Francois-Xavier Le Bail <fx.lebail@yahoo.com> | 2015-08-18 20:29:42 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <fx.lebail@yahoo.com> | 2015-08-18 20:29:42 +0200 |
commit | c59d2fbb8ae60c7bcd199b7080c3aaf760a0a602 (patch) | |
tree | 90633993a182ccdb5c2b1f0b78162d7077e65153 /print-rx.c | |
parent | 568866ab384cea6a370bcbf1c811acb66dd72e97 (diff) | |
download | tcpdump-c59d2fbb8ae60c7bcd199b7080c3aaf760a0a602.tar.gz |
Fix warnings as "ISO C90 does not support the '%T' gnu_strftime format"
The complete warnings were:
ISO C90 does not support the '%T' gnu_strftime format [-Wformat=]
Diffstat (limited to 'print-rx.c')
-rw-r--r-- | print-rx.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -790,7 +790,7 @@ rx_cache_find(const struct rx_header *rxh, const struct ip *ip, int sport, _t = (time_t) EXTRACT_32BITS(bp); \ bp += sizeof(int32_t); \ tm = localtime(&_t); \ - strftime(str, 256, "%Y/%m/%d %T", tm); \ + strftime(str, 256, "%Y/%m/%d %H:%M:%S", tm); \ ND_PRINT((ndo, " %s", str)); \ } |