rename estrtol

This commit is contained in:
Connor Lane Smith
2011-06-10 14:55:01 +01:00
parent 61247e3595
commit 954106050f
12 changed files with 13 additions and 13 deletions

View File

@@ -28,7 +28,7 @@ main(int argc, char *argv[])
}
if(optind == argc)
eprintf("usage: %s [-Rr] mode [file...]\n", argv[0]);
octal = strnum(argv[optind++], 8);
octal = estrtol(argv[optind++], 8);
/* posix doesn't specify modal bits */
if(octal & 04000) mode |= S_ISUID;