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:
fcda11d
)
b=9300
author
tappro
<tappro>
Tue, 13 Sep 2005 03:26:55 +0000
(
03:26
+0000)
committer
tappro
<tappro>
Tue, 13 Sep 2005 03:26:55 +0000
(
03:26
+0000)
correct incrementing.
lustre/mds/mds_audit_path.c
patch
|
blob
|
history
diff --git
a/lustre/mds/mds_audit_path.c
b/lustre/mds/mds_audit_path.c
index
b025eb0
..
5fab6db
100644
(file)
--- a/
lustre/mds/mds_audit_path.c
+++ b/
lustre/mds/mds_audit_path.c
@@
-576,7
+576,7
@@
next:
*namelen += strlen(item->name) + 1;
}
-
*namelen
++; /* for the ending '\0' of string */
+
(*namelen)
++; /* for the ending '\0' of string */
OBD_ALLOC(*name, *namelen);
if (*name == NULL)
rc = -ENOMEM;