summaryrefslogtreecommitdiffstats
path: root/src/pacman/ini.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/ini.c')
-rw-r--r--src/pacman/ini.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/ini.c b/src/pacman/ini.c
index 2a3ef0ed..2eb32302 100644
--- a/src/pacman/ini.c
+++ b/src/pacman/ini.c
@@ -66,7 +66,7 @@ static int _parse_ini(const char *file, ini_parser_fn cb, void *data,
goto cleanup;
}
- while(fgets(line, PATH_MAX, fp)) {
+ while(safe_fgets(line, PATH_MAX, fp)) {
char *key, *value, *ptr;
size_t line_len;