summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/run-parts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/run-parts.c b/utils/run-parts.c
index 5f29a9f..5e3f20f 100644
--- a/utils/run-parts.c
+++ b/utils/run-parts.c
@@ -115,7 +115,7 @@ void add_argument (char *newarg)
*/
int valid_name (const struct dirent *d)
{
- char *c = d->d_name;
+ const char *c = d->d_name;
int filenamelen;
filenamelen=strlen(c);