summaryrefslogtreecommitdiff
path: root/usr.sbin/afs
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/afs')
-rw-r--r--usr.sbin/afs/src/arlad/d-trans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/afs/src/arlad/d-trans.c b/usr.sbin/afs/src/arlad/d-trans.c
index aab45290ec3..abe63ec64ee 100644
--- a/usr.sbin/afs/src/arlad/d-trans.c
+++ b/usr.sbin/afs/src/arlad/d-trans.c
@@ -119,7 +119,7 @@ static Bool
tfid_free(void *p, void *arg)
{
struct transform_fid *t = (struct transform_fid *)p;
- memset(t, 0, sizeof(t));
+ memset(t, 0, sizeof(*t));
free(t);
return TRUE;
}