git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Documentation/accounting/getdelays.c intialize the variable before using it
[sfrench/cifs-2.6.git]
/
Documentation
/
accounting
/
getdelays.c
diff --git
a/Documentation/accounting/getdelays.c
b/Documentation/accounting/getdelays.c
index 7ea231172c850db1a7eed7127d0bb8a036e56364..aa73e72fd793896cbb70fa85505d5f6a7b76d80a 100644
(file)
--- a/
Documentation/accounting/getdelays.c
+++ b/
Documentation/accounting/getdelays.c
@@
-246,7
+246,8
@@
void print_ioacct(struct taskstats *t)
int main(int argc, char *argv[])
{
- int c, rc, rep_len, aggr_len, len2, cmd_type;
+ int c, rc, rep_len, aggr_len, len2;
+ int cmd_type = TASKSTATS_CMD_ATTR_UNSPEC;
__u16 id;
__u32 mypid;