return SIGAR_ENOENT if sigar_net_interface_config_primary_get fails

This commit is contained in:
Doug MacEachern 2007-04-05 15:50:23 +00:00
parent 9d528d6d78
commit 7dab1f69a2

View File

@ -1899,7 +1899,7 @@ sigar_net_interface_config_primary_get(sigar_t *sigar,
return SIGAR_OK;
}
else {
return !SIGAR_OK;
return SIGAR_ENOENT;
}
}