summaryrefslogtreecommitdiffstats
path: root/winsup/testsuite/libltp/lib/search_path.c
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/testsuite/libltp/lib/search_path.c')
-rw-r--r--winsup/testsuite/libltp/lib/search_path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/testsuite/libltp/lib/search_path.c b/winsup/testsuite/libltp/lib/search_path.c
index 6663da507..775c7b1a6 100644
--- a/winsup/testsuite/libltp/lib/search_path.c
+++ b/winsup/testsuite/libltp/lib/search_path.c
@@ -101,7 +101,7 @@ char **argv;
*/
int
search_path(cmd, res_path, access_mode, fullpath)
-char *cmd; /* The requested filename */
+const char *cmd; /* The requested filename */
char *res_path; /* The resulting path or error mesg */
int access_mode; /* the mode used by access(2) */
int fullpath; /* if set, cwd will be prepended to all non-full paths */