diff options
author | Guillem Jover <guillem@debian.org> | 2011-01-04 04:13:22 +0100 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2011-01-08 17:17:41 +0100 |
commit | 460284e19e1556ab312528fdf34be97ce575cf0d (patch) | |
tree | a288bf3d86dfdfdd35f960464694b9656cad806e /dpkg-deb/extract.c | |
parent | 942be7d09ffcdf2bbc5b5b8e391880704da86f7f (diff) | |
download | dpkg-460284e19e1556ab312528fdf34be97ce575cf0d.tar.gz |
dpkg-deb: Fix corrupt archive header magic error string
The string was referring to the first header when the string refers to
any header parsed.
Diffstat (limited to 'dpkg-deb/extract.c')
-rw-r--r-- | dpkg-deb/extract.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dpkg-deb/extract.c b/dpkg-deb/extract.c index 5be408a43..28564dfa6 100644 --- a/dpkg-deb/extract.c +++ b/dpkg-deb/extract.c @@ -143,7 +143,7 @@ extracthalf(const char *debar, const char *dir, const char *taroption, dpkg_ar_normalize_name(&arh); if (memcmp(arh.ar_fmag,ARFMAG,sizeof(arh.ar_fmag))) - ohshit(_("file `%.250s' is corrupt - bad magic at end of first header"),debar); + ohshit(_("file '%.250s' is corrupt - bad archive header magic"), debar); memberlen = dpkg_ar_member_get_size(debar, &arh); if (!header_done) { char *infobuf; |