summaryrefslogtreecommitdiff
path: root/print-rx.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2015-08-18 20:29:42 +0200
committerFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2015-08-18 20:29:42 +0200
commitc59d2fbb8ae60c7bcd199b7080c3aaf760a0a602 (patch)
tree90633993a182ccdb5c2b1f0b78162d7077e65153 /print-rx.c
parent568866ab384cea6a370bcbf1c811acb66dd72e97 (diff)
downloadtcpdump-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-rx.c b/print-rx.c
index db3ed4bc..246ba6fe 100644
--- a/print-rx.c
+++ b/print-rx.c
@@ -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)); \
}