diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-10-09 15:07:08 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-10-09 15:07:08 +0300 |
commit | 9fba2d43d162bc12e84a4e5120429609ff17fc72 (patch) | |
tree | 75e722826603967cae80a158db263923d5ee5847 /lib | |
parent | 8b4b6eeb47c00d072b159e9dc84cd2a2a8f72868 (diff) | |
download | rpm-9fba2d43d162bc12e84a4e5120429609ff17fc72.tar.gz rpm-9fba2d43d162bc12e84a4e5120429609ff17fc72.tar.bz2 rpm-9fba2d43d162bc12e84a4e5120429609ff17fc72.zip |
Let tufdio use rpmio_internal.. its for internal testing only anyway
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tufdio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/tufdio.c b/lib/tufdio.c index ff955a2ae..1ca035511 100644 --- a/lib/tufdio.c +++ b/lib/tufdio.c @@ -6,6 +6,7 @@ #include <rpmlib.h> #include <rpmurl.h> +#include "rpmio_internal.h" #include <stdarg.h> #include <err.h> @@ -68,7 +69,7 @@ static int doFIO(const char *ofn, const char *rfmode, const char *wfmode) warn("Compare: write(%s) \"%s\" != read(%s) \"%s\" for %s\n", wfmode, ofn, rfmode, buf, ofn); else rc = 0; - if (Unlink(ofn) != 0) + if (ufdio->_unlink(ofn) != 0) warn("Unlink: write(%s) read(%s) for %s\n", wfmode, rfmode, ofn); return rc; } |