From 7dab1f69a2fadb9b1bb9bd2c1aa2ec692f6e829a Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Thu, 5 Apr 2007 15:50:23 +0000 Subject: [PATCH] return SIGAR_ENOENT if sigar_net_interface_config_primary_get fails --- src/sigar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sigar.c b/src/sigar.c index c68c5a40..9919a98b 100644 --- a/src/sigar.c +++ b/src/sigar.c @@ -1899,7 +1899,7 @@ sigar_net_interface_config_primary_get(sigar_t *sigar, return SIGAR_OK; } else { - return !SIGAR_OK; + return SIGAR_ENOENT; } }