summaryrefslogtreecommitdiff
path: root/build/spec.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-10-16 13:36:39 +0300
committerPanu Matilainen <pmatilai@redhat.com>2009-10-16 13:36:39 +0300
commitf677a821adf7d18f5e9a9b053d805052a1bf5a39 (patch)
treeba5d30c30542dadd650c658c2e3f92dd64173a80 /build/spec.c
parentb0d1038190be5cb4b45e2c2c7c84ee7022164ba2 (diff)
downloadlibrpm-tizen-f677a821adf7d18f5e9a9b053d805052a1bf5a39.tar.gz
librpm-tizen-f677a821adf7d18f5e9a9b053d805052a1bf5a39.tar.bz2
librpm-tizen-f677a821adf7d18f5e9a9b053d805052a1bf5a39.zip
Since we really want a FILE* then get one in the first place
- this is visible in the librpmbuild exported goo, rename the member to force build-breakage on the poor souls trying to use librpmbuild API
Diffstat (limited to 'build/spec.c')
-rw-r--r--build/spec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/spec.c b/build/spec.c
index a867500ad..d3e6a6a8d 100644
--- a/build/spec.c
+++ b/build/spec.c
@@ -530,7 +530,7 @@ struct OpenFileInfo * newOpenFileInfo(void)
struct OpenFileInfo *ofi;
ofi = xmalloc(sizeof(*ofi));
- ofi->fd = NULL;
+ ofi->fp = NULL;
ofi->fileName = NULL;
ofi->lineNum = 0;
ofi->readBuf[0] = '\0';