From 3f1e93c29856ec1e75327525899d1f0d6a81c0a3 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Sun, 12 Apr 2009 04:16:09 -0700 Subject: minor initialization bug fix in quota's build_loc Signed-off-by: Anand V. Avati --- xlators/features/quota/src/quota.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators') diff --git a/xlators/features/quota/src/quota.c b/xlators/features/quota/src/quota.c index a8a0d014f..94a7ec83b 100644 --- a/xlators/features/quota/src/quota.c +++ b/xlators/features/quota/src/quota.c @@ -74,6 +74,7 @@ quota_statvfs_cbk (call_frame_t *frame, void *cookie, xlator_t *this, static void build_root_loc (xlator_t *this, loc_t *loc) { + memset (loc, 0, sizeof (*loc)); loc->path = "/"; } -- cgit