summaryrefslogtreecommitdiff
path: root/lib/falloc.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-10-08 16:38:33 +0000
committerjbj <devnull@localhost>1999-10-08 16:38:33 +0000
commit8ef4ebd1331eed2ff91feda99a0ad7726a083743 (patch)
treeb8a2cc35181d73452b059cf33ddb1eb759d523be /lib/falloc.c
parent1ba4ccb8706d27ba8e5da5d9fc03544af1445b56 (diff)
downloadlibrpm-tizen-8ef4ebd1331eed2ff91feda99a0ad7726a083743.tar.gz
librpm-tizen-8ef4ebd1331eed2ff91feda99a0ad7726a083743.tar.bz2
librpm-tizen-8ef4ebd1331eed2ff91feda99a0ad7726a083743.zip
Use xmalloc/xstrdup rather than malloc/strdup.
CVS patchset: 3377 CVS date: 1999/10/08 16:38:33
Diffstat (limited to 'lib/falloc.c')
-rw-r--r--lib/falloc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/falloc.c b/lib/falloc.c
index f66c7d6b6..c82032c5f 100644
--- a/lib/falloc.c
+++ b/lib/falloc.c
@@ -107,7 +107,6 @@ faFile faOpen(const char * path, int flags, int perms)
fas.fileSize = faLseek(&fas, 0, SEEK_CUR);
}
- /* XXX xmalloc is inappopriate here */
if ((fa = malloc(sizeof(*fa))) != NULL) {
fa->fd = fas.fd;
fa->readOnly = fas.readOnly;