From 3e9874de796502627fc081243393459194e9fb21 Mon Sep 17 00:00:00 2001 From: szaka Date: Sat, 3 Mar 2007 23:31:48 +0000 Subject: [PATCH] fix fakeraid/softraid detection (Cyberjean, Szaka) --- src/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.c b/src/utils.c index 40ba1009..a35288fc 100644 --- a/src/utils.c +++ b/src/utils.c @@ -154,7 +154,7 @@ ntfs_volume *utils_mount_volume(const char *volume, unsigned long flags, ntfs_log_error("%s", unclean_journal_msg); else if (errno == EBUSY) ntfs_log_error("%s", opened_volume_msg); - else if (errno == ENODEV) + else if (errno == ENXIO) ntfs_log_error("%s", fakeraid_msg); return NULL;