(main): Fix my typo: s/argv[optind]/file[i]/.

This commit is contained in:
Jim Meyering committed 2005-06-15 08:54:21 +00:00
1 parent 8add4ac9cb
commit ec5b4733d8
1 file changed
+1 -1
+1 -1
View File
@@ -360,7 +360,7 @@ main (int argc, char **argv)
int cwd_errno = 0;
for (i = 0; i < n_files; i++)
{
if (cwd_errno != 0 && IS_RELATIVE_FILE_NAME (argv[optind]))
if (cwd_errno != 0 && IS_RELATIVE_FILE_NAME (file[i]))
{
error (0, cwd_errno, _("cannot return to working directory"));
ok = false;