summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2004-01-09 23:14:00 +0000
committerjbj <devnull@localhost>2004-01-09 23:14:00 +0000
commitec590d0d692af370f7c7dea0aaa7b199b187d839 (patch)
tree29386e2f01adf5c96fc2b5f37c2b912a5a2a4bc3 /lib
parent40d5a86be045c851c74a9bc193e1b2f0c0d80453 (diff)
downloadlibrpm-tizen-ec590d0d692af370f7c7dea0aaa7b199b187d839.tar.gz
librpm-tizen-ec590d0d692af370f7c7dea0aaa7b199b187d839.tar.bz2
librpm-tizen-ec590d0d692af370f7c7dea0aaa7b199b187d839.zip
Use "", not NULL, for missing file contexts.
CVS patchset: 7070 CVS date: 2004/01/09 23:14:00
Diffstat (limited to 'lib')
-rw-r--r--lib/rpmfi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmfi.c b/lib/rpmfi.c
index e34da599a..047ef4273 100644
--- a/lib/rpmfi.c
+++ b/lib/rpmfi.c
@@ -1593,7 +1593,7 @@ void rpmfiBuildFSContexts(Header h,
fi = rpmfiInit(fi, 0);
if (fi != NULL)
while (rpmfiNext(fi) >= 0) {
- av[ac] = NULL;
+ av[ac] = "";
if (fcnb[ac] > 0) {
av[ac] = t;
t += fcnb[ac];