Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c75ce7e
)
Branch: b_release_1_6_7
author
wangdi
<wangdi>
Mon, 22 Dec 2008 04:28:42 +0000
(
04:28
+0000)
committer
wangdi
<wangdi>
Mon, 22 Dec 2008 04:28:42 +0000
(
04:28
+0000)
b=16117
fix complie warning, found by shadow
i=shadow
lnet/utils/debug.c
patch
|
blob
|
history
diff --git
a/lnet/utils/debug.c
b/lnet/utils/debug.c
index
6afa0dc
..
e0128a3
100644
(file)
--- a/
lnet/utils/debug.c
+++ b/
lnet/utils/debug.c
@@
-505,13
+505,13
@@
static int parse_buffer(int fdin, int fdout)
if (linev) {
fprintf(stderr, "error: line malloc(%u): "
"printing accumulated records\n",
- sizeof(*line));
+
(unsigned int)
sizeof(*line));
print_rec(&linev, kept, fdout);
goto retry_alloc;
}
fprintf(stderr, "error: line malloc(%u): exiting\n",
- sizeof(*line));
+
(unsigned int)
sizeof(*line));
break;
}