summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-05-30 18:18:23 +0000
committerMatt Wilson <msw@redhat.com>2000-05-30 18:18:23 +0000
commit4b6445eea9c485db969e110beff0ab212b7da811 (patch)
tree89b186434aaf0f7a56c3c40c54ebd9089165dcc3 /utils
parentd8bf3c913fb480ce8d46e0df780afcea86803160 (diff)
downloadanaconda-4b6445eea9c485db969e110beff0ab212b7da811.tar.gz
anaconda-4b6445eea9c485db969e110beff0ab212b7da811.tar.xz
anaconda-4b6445eea9c485db969e110beff0ab212b7da811.zip
fix linkings, use right calls for rpmio
Diffstat (limited to 'utils')
-rw-r--r--utils/Makefile2
-rw-r--r--utils/genhdlist.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/utils/Makefile b/utils/Makefile
index f957d04cc..9632a3396 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -29,7 +29,7 @@ moddeps: moddeps.o
../isys/modutils/obj/libobj.a -lrpm -lbz2 -lz -lpopt
genhdlist: genhdlist.c
- $(CC) $(LDFLAGS) $(CFLAGS) -o genhdlist genhdlist.c -lrpm -lbz2 -lz -lpopt -ldb
+ $(CC) $(LDFLAGS) $(CFLAGS) -o genhdlist genhdlist.c -lrpm -lbz2 -lz -lpopt -ldb-3.0
depends:
diff --git a/utils/genhdlist.c b/utils/genhdlist.c
index 0f1c593a3..4a6a598f4 100644
--- a/utils/genhdlist.c
+++ b/utils/genhdlist.c
@@ -102,7 +102,7 @@ int onePass(FD_t outfd, const char * dirName, int cdNum) {
headerWrite(outfd, h, HEADER_MAGIC_YES);
headerFree(h);
}
- fdio->close(fd);
+ Fclose(fd);
}
errno = 0;
@@ -176,7 +176,7 @@ int main(int argc, const char ** argv) {
args++;
}
- fdio->close(outfd);
+ Fclose(outfd);
poptFreeContext(optCon);