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:
00d858d
)
Branch: HEAD
author
wangdi
<wangdi>
Mon, 22 Dec 2008 04:26:16 +0000
(
04:26
+0000)
committer
wangdi
<wangdi>
Mon, 22 Dec 2008 04:26:16 +0000
(
04:26
+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
7079a2e
..
fc1248b
100644
(file)
--- a/
lnet/utils/debug.c
+++ b/
lnet/utils/debug.c
@@
-502,13
+502,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;
}