diff options
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/thirdparty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/thirdparty.c b/mdk-stage1/thirdparty.c index 00c8c9db3..5bdab55ad 100644 --- a/mdk-stage1/thirdparty.c +++ b/mdk-stage1/thirdparty.c @@ -161,7 +161,7 @@ static enum return_type third_party_choose_device(char ** device) static enum return_type thirdparty_mount_device(char * device) { log_message("third party: trying to mount device %s", device); - if (try_mount(device, THIRDPARTY_MOUNT_LOCATION) == -1) { + if (!try_mount(device, THIRDPARTY_MOUNT_LOCATION)) { stg1_error_message("I can't mount the selected device (%s).", device); return RETURN_ERROR; } |