summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@mandriva.com>2008-12-17 10:37:40 +0000
committerFrederic Crozat <fcrozat@mandriva.com>2008-12-17 10:37:40 +0000
commit15fb11c84b7de6f08be7ccb6c2c4f23f820e50ae (patch)
tree993946538839bb773ca0b461f82cb8c90176b569
parentcab440f0ef0995b38a8d4fad183e4e8dba10d942 (diff)
downloadsetup-15fb11c84b7de6f08be7ccb6c2c4f23f820e50ae.tar
setup-15fb11c84b7de6f08be7ccb6c2c4f23f820e50ae.tar.gz
setup-15fb11c84b7de6f08be7ccb6c2c4f23f820e50ae.tar.bz2
setup-15fb11c84b7de6f08be7ccb6c2c4f23f820e50ae.tar.xz
setup-15fb11c84b7de6f08be7ccb6c2c4f23f820e50ae.zip
- Fix warning
-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);