git.annexia.org
/
hivex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bb8a92
)
Fix incorrect printf format specifier in error string.
author
Richard W.M. Jones
<rjones@redhat.com>
Mon, 15 Aug 2011 09:52:00 +0000
(10:52 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Mon, 15 Aug 2011 09:52:00 +0000
(10:52 +0100)
lib/hivex.c
patch
|
blob
|
history
diff --git
a/lib/hivex.c
b/lib/hivex.c
index
dceea73
..
a3f5171
100644
(file)
--- a/
lib/hivex.c
+++ b/
lib/hivex.c
@@
-621,7
+621,8
@@
timestamp_check (hive_h *h, hive_node_h node, int64_t timestamp)
if (timestamp < 0) {
if (h->msglvl >= 2)
fprintf (stderr, "hivex: timestamp_check: "
- "negative time reported at %z: %" PRIi64 "\n", node, timestamp);
+ "negative time reported at %zu: %" PRIi64 "\n",
+ node, timestamp);
errno = EINVAL;
return -1;
}