summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIan Jackson <ian@davenant.greenend.org.uk>2007-11-19 21:19:36 +0100
committerGuillem Jover <guillem@debian.org>2008-01-21 07:06:05 +0200
commit57fe8700deae2750ff28de5ee3906649cb034dd4 (patch)
treee98680d2bc9e3af740986ea40d64aaa9286fd7c1 /src
parentbc79cc003ee3cbd36f6ac119dfd43a91c81eeed4 (diff)
downloaddpkg-57fe8700deae2750ff28de5ee3906649cb034dd4.tar.gz
Fix incorrect sizeof in a memset call
Diffstat (limited to 'src')
-rw-r--r--src/processarc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/processarc.c b/src/processarc.c
index 155041443..aeeba77c9 100644
--- a/src/processarc.c
+++ b/src/processarc.c
@@ -675,7 +675,7 @@ void process_archive(const char *filename) {
ohshite(_("unable to stat other new file `%.250s'"),
cfile->namenode->name);
memset(cfile->namenode->filestat, 0,
- sizeof(cfile->namenode->filestat));
+ sizeof(*cfile->namenode->filestat));
continue;
}
}