From 4ddd73798c4bf8543c29017cd9d70944035ca79e Mon Sep 17 00:00:00 2001 From: "cantab.net!aia21" Date: Mon, 27 Oct 2003 15:17:17 +0000 Subject: [PATCH] Fix what must be a logic inverting typo... (Logical change 1.215) --- ntfsprogs/utils.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ntfsprogs/utils.c b/ntfsprogs/utils.c index 234624f9..22a4e26a 100644 --- a/ntfsprogs/utils.c +++ b/ntfsprogs/utils.c @@ -92,8 +92,9 @@ int utils_valid_device (const char *name, int force) unsigned long mnt_flags = 0; struct stat st; -#ifndef __CYGWIN32__ - return 1; /* FIXME: This doesn't work for Cygwin, so just skip it for now... */ +#ifdef __CYGWIN32__ + /* FIXME: This doesn't work for Cygwin, so just return success for now... */ + return 1; #endif if (!name) { errno = EINVAL;