From: Benjamin Kaduk Date: Tue, 5 Apr 2016 17:53:48 +0000 (-0500) Subject: Fix typo in cm_dcache.c X-Git-Tag: upstream/1.8.0_pre1^2~140 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=808b156bd890cd78dc59b443b4ebe32e98d440d4;p=packages%2Fo%2Fopenafs.git Fix typo in cm_dcache.c Commit b85c5f9339e20d3de9b1316217dadbea41ad537e introduced a new memset() but left out a prenthesis. In the absence of a windows build machine, this error went unnoticed. Reported by Mark Vitale. Change-Id: Ie250163029132896cd70dc822c6170913e83dafe Reviewed-on: https://gerrit.openafs.org/12241 Reviewed-by: Michael Meffie Tested-by: BuildBot Tested-by: Michael Meffie Reviewed-by: Stephan Wiesand Reviewed-by: Benjamin Kaduk --- diff --git a/src/WINNT/afsd/cm_dcache.c b/src/WINNT/afsd/cm_dcache.c index cd7315886..46a512db2 100644 --- a/src/WINNT/afsd/cm_dcache.c +++ b/src/WINNT/afsd/cm_dcache.c @@ -460,7 +460,7 @@ long cm_StoreMini(cm_scache_t *scp, cm_user_t *userp, cm_req_t *reqp) int call_was_64bit = 0; memset(&volSync, 0, sizeof(volSync)); - memset(&inStatus, 0, sizeof(inStatus); + memset(&inStatus, 0, sizeof(inStatus)); osi_Log2(afsd_logp, "cm_StoreMini scp 0x%p userp 0x%p", scp, userp);