summaryrefslogtreecommitdiff
path: root/utils/ldconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/ldconfig.c')
-rw-r--r--utils/ldconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ldconfig.c b/utils/ldconfig.c
index a25de260a..024be7ca4 100644
--- a/utils/ldconfig.c
+++ b/utils/ldconfig.c
@@ -568,7 +568,7 @@ static char *get_extpath(void)
if ((file = fopen(realconffile, "r")) != NULL) {
fstat(fileno(file), &st);
res = xmalloc(st.st_size + 1);
- fread(res, 1, st.st_size, file);
+ (void)fread(res, 1, st.st_size, file);
fclose(file);
res[st.st_size] = '\0';