diff options
Diffstat (limited to 'macosx/PcsxrController.m')
| -rwxr-xr-x | macosx/PcsxrController.m | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/macosx/PcsxrController.m b/macosx/PcsxrController.m index 8ca55692..6943fcac 100755 --- a/macosx/PcsxrController.m +++ b/macosx/PcsxrController.m @@ -122,7 +122,7 @@ void ShowHelpAndExit(FILE* output, int exitCode) [deviceName deleteCharactersInRange:rdiskRange]; } // execute hdiutil to eject the device - ejectTask = [NSTask launchedTaskWithLaunchPath:@"/usr/bin/hdiutil" arguments:[NSArray arrayWithObjects:@"eject", deviceName, nil]]; + ejectTask = [NSTask launchedTaskWithLaunchPath:@"/usr/bin/hdiutil" arguments:@[@"eject", deviceName]]; [ejectTask waitUntilExit]; } } @@ -497,9 +497,8 @@ otherblock();\ } RETAINOBJNORETURN(unknownString); } - NSLog(@"%@", unknownString); + NSLog(@"%@. This may be due to extra arguments passed by the OS or debugger.", unknownString); RELEASEOBJ(unknownString); - NSLog(@"This may be due to extra arguments passed by the OS or debugger."); } #endif if (!isLaunchable && hasParsedAnArgument) { |
