From da6e455f7001def03300a398dbbc02bb03c7f4b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Tue, 10 Mar 2015 15:46:05 +0200 Subject: rename file info related functions for consistency --- src/index.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/index.c') diff --git a/src/index.c b/src/index.c index ccb4713..44bbc0d 100644 --- a/src/index.c +++ b/src/index.c @@ -81,7 +81,7 @@ static int index_read_file(struct apk_database *db, struct index_ctx *ictx) if (ictx->index == NULL) return 0; - if (apk_file_get_info(AT_FDCWD, ictx->index, APK_CHECKSUM_NONE, &fi) < 0) + if (apk_fileinfo_get(AT_FDCWD, ictx->index, APK_CHECKSUM_NONE, &fi) < 0) return -EIO; ictx->index_mtime = fi.mtime; @@ -133,7 +133,7 @@ static int index_main(void *ctx, struct apk_database *db, struct apk_string_arra } foreach_array_item(parg, args) { - if (apk_file_get_info(AT_FDCWD, *parg, APK_CHECKSUM_NONE, &fi) < 0) { + if (apk_fileinfo_get(AT_FDCWD, *parg, APK_CHECKSUM_NONE, &fi) < 0) { apk_warning("File '%s' is unaccessible", *parg); continue; } -- cgit v1.2.3