preparatory patch for -Wwrite-strings #1

This commit is contained in:
Denis Vlasenko
2007-01-29 22:51:00 +00:00
parent e935602ff5
commit a41fdf331a
17 changed files with 59 additions and 52 deletions

View File

@@ -222,7 +222,7 @@ int du_main(int argc, char **argv)
/* go through remaining args (if any) */
argv += optind;
if (optind >= argc) {
*--argv = ".";
*--argv = (char*)".";
if (slink_depth == 1) {
slink_depth = 0;
}