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; } }