diff options
author | jbj <devnull@localhost> | 2002-03-13 15:06:07 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-03-13 15:06:07 +0000 |
commit | 976cf8dec79b51102ed51cb72681bbac0abf3f5d (patch) | |
tree | 7b9fd30d31c5a9884ad793d1a3290a27d82f8c3a /rpmdb/legacy.c | |
parent | 2c45013b703f6f976bc8a64a38fcae56f0ffb156 (diff) | |
download | librpm-tizen-976cf8dec79b51102ed51cb72681bbac0abf3f5d.tar.gz librpm-tizen-976cf8dec79b51102ed51cb72681bbac0abf3f5d.tar.bz2 librpm-tizen-976cf8dec79b51102ed51cb72681bbac0abf3f5d.zip |
Pass ts and args to rpmInstall() and rpmErase().
CVS patchset: 5355
CVS date: 2002/03/13 15:06:07
Diffstat (limited to 'rpmdb/legacy.c')
-rw-r--r-- | rpmdb/legacy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rpmdb/legacy.c b/rpmdb/legacy.c index 48b128be2..6df200de8 100644 --- a/rpmdb/legacy.c +++ b/rpmdb/legacy.c @@ -36,7 +36,8 @@ int domd5(const char * fn, unsigned char * digest, int asAscii) xx = close(fdno); return 1; } - (void) madvise(mapped, st->st_size, MADV_SEQUENTIAL); + + xx = madvise(mapped, st->st_size, MADV_SEQUENTIAL); ctx = rpmDigestInit(PGPHASHALGO_MD5, RPMDIGEST_NONE); xx = rpmDigestUpdate(ctx, mapped, st->st_size); |