mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-25 12:37:32 +08:00
committed by
Joel Sherrill
parent
4523c71340
commit
c8c713c6bd
@@ -56,7 +56,7 @@ static int rtems_shell_main_chmod(
|
||||
* Now change the files modes
|
||||
*/
|
||||
for (n=2 ; n < argc ; n++) {
|
||||
sc = chmod(argv[n++], mode);
|
||||
sc = chmod(argv[n], mode);
|
||||
_Assert_Unused_variable_unequal(sc, -1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user