diff options
Diffstat (limited to 'pseudo_util.c')
-rw-r--r-- | pseudo_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pseudo_util.c b/pseudo_util.c index 9ff2587..d15373b 100644 --- a/pseudo_util.c +++ b/pseudo_util.c @@ -1269,7 +1269,7 @@ FILE *pseudo_host_etc_group_file = &pseudo_fake_group_file; #endif int -pseudo_etc_file(const char *file, char *realname, int flags, char *search_dirs[], int dircount) { +pseudo_etc_file(const char *file, char *realname, int flags, const char **search_dirs, int dircount) { char filename[pseudo_path_max()]; int rc = -1; @@ -1285,7 +1285,7 @@ pseudo_etc_file(const char *file, char *realname, int flags, char *search_dirs[] return -1; } for (i = 0; i < dircount; ++i) { - char *s = search_dirs[i]; + const char *s = search_dirs[i]; if (!s) continue; #if PSEUDO_PORT_DARWIN |