return SIGAR_ENXIO if sigar_net_interface_config_primary_get fails

This commit is contained in:
Doug MacEachern 2007-04-05 15:55:59 +00:00
parent e2bf1c40d4
commit 2af66e050e
1 changed files with 1 additions and 1 deletions

View File

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