From ceab542f7b12e47e4e9cacc825f129e2c75bd3b7 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Sat, 18 Jul 2009 18:43:54 -0700 Subject: [PATCH] (SIGAR-164) return ENXIO instead of ENOENT in disk_usage win32 impl --- src/os/win32/win32_sigar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/win32/win32_sigar.c b/src/os/win32/win32_sigar.c index fdc7d0c0..ea92b681 100644 --- a/src/os/win32/win32_sigar.c +++ b/src/os/win32/win32_sigar.c @@ -1956,7 +1956,7 @@ SIGAR_DECLARE(int) sigar_disk_usage_get(sigar_t *sigar, } } - return ENOENT; + return ENXIO; } SIGAR_DECLARE(int)