projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87af92a
)
stats: Fix compiler warning on 64-bit machines
author
Marcel Holtmann
<marcel@holtmann.org>
Fri, 4 Mar 2011 13:11:31 +0000
(
05:11
-0800)
committer
Marcel Holtmann
<marcel@holtmann.org>
Fri, 4 Mar 2011 13:11:31 +0000
(
05:11
-0800)
src/stats.c
patch
|
blob
|
history
diff --git
a/src/stats.c
b/src/stats.c
index c4aa24e5eb98a52eec1712d8e3ff14c37a648daf..1a6b3e58e4679c56eda178b8218fa844fbc0c488 100644
(file)
--- a/
src/stats.c
+++ b/
src/stats.c
@@
-277,7
+277,7
@@
static int stats_file_remap(struct stats_file *file, size_t size)
void *addr;
int err;
- DBG("file %p size %
u addr %p len %
u", file, size, file->addr,
+ DBG("file %p size %
zu addr %p len %z
u", file, size, file->addr,
file->len);
page_size = sysconf(_SC_PAGESIZE);