Fix format string.
This commit is contained in:
parent
e8530f630d
commit
31925864e3
2 changed files with 16 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: distinfo,v 1.11 2012/12/12 11:32:08 plunky Exp $
|
||||
$NetBSD: distinfo,v 1.12 2013/09/10 14:44:03 joerg Exp $
|
||||
|
||||
SHA1 (bluez-hcidump-2.5.tar.gz) = 8f25ae706fa2da23036ba1968a70389742634f64
|
||||
RMD160 (bluez-hcidump-2.5.tar.gz) = b23a15e2f3388f0d1788827022a3f0ed65c04508
|
||||
|
@ -9,7 +9,7 @@ SHA1 (patch-ac) = 8bb167974e0dc883b0ffc2e5a66465d6e215fe9b
|
|||
SHA1 (patch-ad) = 65f5e76b20489907838d2eff47c6fdaea251a7e0
|
||||
SHA1 (patch-ae) = 29bd10d4149db9ed9f5970da66f855e3e8e2d5ec
|
||||
SHA1 (patch-af) = d32b7ac6add15c95fce071d1f64ad7e1f655c99f
|
||||
SHA1 (patch-ah) = e8902e5114c592f6f53706f804bdb1b90a5de07e
|
||||
SHA1 (patch-ah) = d65ea0e99f2ab02440ce1f72bb55c8207758860a
|
||||
SHA1 (patch-ai) = 44800df5e4b4b729cd73478eda0c330024235e81
|
||||
SHA1 (patch-aj) = 27b2298a968ca4306072950f5d49bb5c5204777a
|
||||
SHA1 (patch-ak) = d1da910f5261c19918d0c42ddaab77f825042ac2
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
$NetBSD: patch-ah,v 1.3 2012/05/21 07:01:32 plunky Exp $
|
||||
$NetBSD: patch-ah,v 1.4 2013/09/10 14:44:03 joerg Exp $
|
||||
|
||||
--- parser/parser.h.orig 2012-04-20 19:28:19.000000000 +0000
|
||||
--- parser/parser.h.orig 2012-11-30 08:29:41.000000000 +0000
|
||||
+++ parser/parser.h
|
||||
@@ -36,7 +36,7 @@ struct frame {
|
||||
uint32_t data_len;
|
||||
|
@ -11,3 +11,15 @@ $NetBSD: patch-ah,v 1.3 2012/05/21 07:01:32 plunky Exp $
|
|||
uint8_t in;
|
||||
uint8_t master;
|
||||
uint16_t handle;
|
||||
@@ -134,9 +134,9 @@ static inline void p_indent(int level, s
|
||||
localtime_r(&t, &tm);
|
||||
printf("%04d-%02d-%02d %02d:%02d:%02d.%06lu ",
|
||||
tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday,
|
||||
- tm.tm_hour, tm.tm_min, tm.tm_sec, f->ts.tv_usec);
|
||||
+ tm.tm_hour, tm.tm_min, tm.tm_sec, (unsigned long)f->ts.tv_usec);
|
||||
} else
|
||||
- printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec);
|
||||
+ printf("%8lu.%06lu ", f->ts.tv_sec, (unsigned long)f->ts.tv_usec);
|
||||
}
|
||||
printf("%c ", (f->in ? '>' : '<'));
|
||||
parser.state = 1;
|
||||
|
|
Loading…
Reference in a new issue