diff options
Diffstat (limited to 'build/pack.c')
-rw-r--r-- | build/pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/pack.c b/build/pack.c index 3ebe95dc1..88dc15b18 100644 --- a/build/pack.c +++ b/build/pack.c @@ -476,7 +476,7 @@ static StringBuf addFileToTagAux(Spec spec, const char *file, StringBuf sb) freeStringBuf(sb); return NULL; } - while (fgets(buf, sizeof(buf), fpio->ffileno(fd))) { + while (fgets(buf, sizeof(buf), (FILE *)fdGetFp(fd))) { /* XXX display fn in error msg */ if (expandMacros(spec, spec->macros, buf, sizeof(buf))) { rpmError(RPMERR_BADSPEC, _("line: %s"), buf); |