From bb590826eca236c2c3f5acf7749fba7b890792d7 Mon Sep 17 00:00:00 2001 From: tappro Date: Tue, 13 Sep 2005 03:26:55 +0000 Subject: [PATCH] b=9300 correct incrementing. --- lustre/mds/mds_audit_path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/mds/mds_audit_path.c b/lustre/mds/mds_audit_path.c index b025eb0..5fab6db 100644 --- 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; -- 1.8.3.1