Fix argv index in MakeDrive for mv command name

This commit is contained in:
Douglas Clowes
2015-07-03 09:12:30 +10:00
parent 8a4192dc41
commit e0d400cdbb

View File

@ -517,7 +517,7 @@ int MakeDrive(SConnection * pCon, SicsInterp * pSics, void *pData,
}
if (argc > 3) {
iRet = AddCommand(pSics, argv[2], MoveWrapper, NULL, NULL);
iRet = AddCommand(pSics, argv[3], MoveWrapper, NULL, NULL);
} else {
iRet = AddCommand(pSics, "mv", MoveWrapper, NULL, NULL);
}