diff options
Diffstat (limited to 'util/cleanshm.c')
-rw-r--r-- | util/cleanshm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/cleanshm.c b/util/cleanshm.c index 37eb4018..3632ad5e 100644 --- a/util/cleanshm.c +++ b/util/cleanshm.c @@ -11,7 +11,8 @@ int clean_unused_var(userec_t *rec) rec->badpost = 0; rec->goodsale = 0; rec->badsale = 0; - memset(pad, 0, sizeof(pad)); + memset(rec->pad, 0, sizeof(rec->pad)); + return 0; } int main(int argc, char *argv[]) |