summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2010-03-11 10:24:11 -0800
committerJeremy Huddleston <jeremyhu@apple.com>2010-03-11 10:24:11 -0800
commitad11d954cf296f2bfbe25ad483459c8485197dd1 (patch)
tree212b4ae30cf868a8d9b7a87c8d8d792b4217d315
parentb61c4977d96fbaabdfb8213d2b9cc2e1416952f1 (diff)
Quiet warning for fts_open
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-rw-r--r--privileged_startx/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/privileged_startx/server.c b/privileged_startx/server.c
index ee508db..4415943 100644
--- a/privileged_startx/server.c
+++ b/privileged_startx/server.c
@@ -215,7 +215,7 @@ kern_return_t do_privileged_startx(mach_port_t test_port __attribute__((unused))
#endif
/* script_dir contains a set of files to run with root privs when X11 starts */
- ftsp = fts_open(path_argv, FTS_PHYSICAL, ftscmp);
+ ftsp = fts_open((char * const *)path_argv, FTS_PHYSICAL, ftscmp);
if(!ftsp) {
asl_log(NULL, NULL, ASL_LEVEL_ERR,
"do_privileged_startx: fts_open(%s): %s\n",