diff options
author | jbj <devnull@localhost> | 1999-09-17 23:18:24 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-09-17 23:18:24 +0000 |
commit | b0f03239bbd48ef228e0f390e0f6afd94b27c316 (patch) | |
tree | d201baf05c61a831934a92cad6f129499ec95cce /build | |
parent | 0148d1e87dc4dc6d31bf2b01e5a21a99ed46239c (diff) | |
download | rpm-b0f03239bbd48ef228e0f390e0f6afd94b27c316.tar.gz rpm-b0f03239bbd48ef228e0f390e0f6afd94b27c316.tar.bz2 rpm-b0f03239bbd48ef228e0f390e0f6afd94b27c316.zip |
Typo.
CVS patchset: 3303
CVS date: 1999/09/17 23:18:24
Diffstat (limited to 'build')
-rw-r--r-- | build/pack.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/build/pack.c b/build/pack.c index 98486bd0d..bfb8af9d9 100644 --- a/build/pack.c +++ b/build/pack.c @@ -373,10 +373,11 @@ int writeRPM(Header h, const char *fileName, int type, return 0; } -static int cpio_gzip(FD_t fdo, CSA_t *csa) { +static int cpio_gzip(FD_t fdo, CSA_t *csa) +{ CFD_t *cfd = &csa->cpioCfd; int rc; - const char *failedFile; + const char *failedFile = NULL; cfd->cpioIoType = cpioIoTypeGzFd; cfd->cpioGzFd = gzdFdopen(fdDup(fdFileno(fdo)), "w9"); @@ -395,7 +396,8 @@ static int cpio_gzip(FD_t fdo, CSA_t *csa) { return rc; } -static int cpio_copy(FD_t fdo, CSA_t *csa) { +static int cpio_copy(FD_t fdo, CSA_t *csa) +{ char buf[BUFSIZ]; ssize_t nb; |