diff options
Diffstat (limited to 'lib/uninstall.c')
-rw-r--r-- | lib/uninstall.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/uninstall.c b/lib/uninstall.c index ef14682c3..09384c57a 100644 --- a/lib/uninstall.c +++ b/lib/uninstall.c @@ -1,3 +1,7 @@ +/** \ingroup rpmtrans payload + * \file lib/uninstall.c + */ + #include "system.h" #include <rpmlib.h> @@ -157,7 +161,7 @@ int removeBinaryPackage(const char * rootdir, rpmdb rpmdb, unsigned int offset, if (fnlen > fnmaxlen) fnmaxlen = fnlen; } - fnmaxlen += rootdir + sizeof("/"); /* XXX one byte too many */ + fnmaxlen += rdlen + sizeof("/"); /* XXX one byte too many */ fileName = alloca(fnmaxlen); |