From 9e699babc5b143858db392e8337c0a97be8f2aa7 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Sat, 18 Jul 2009 18:43:28 -0700 Subject: [PATCH] (SIGAR-164) return ENXIO instead of ENOENT in disk_usage aix impl --- src/os/aix/aix_sigar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/aix/aix_sigar.c b/src/os/aix/aix_sigar.c index 8bb19228..bac4491f 100644 --- a/src/os/aix/aix_sigar.c +++ b/src/os/aix/aix_sigar.c @@ -1247,7 +1247,7 @@ int sigar_disk_usage_get(sigar_t *sigar, const char *name, SIGAR_SSTRCPY(id.name, name); if (perfstat_disk(&id, &disk, sizeof(disk), 1) != 1) { - return ENOENT; + return ENXIO; } usage->reads = disk.rblks;