return SIGAR_ENXIO if sigar_net_interface_config_primary_get fails
This commit is contained in:
parent
e2bf1c40d4
commit
2af66e050e
|
@ -1899,7 +1899,7 @@ sigar_net_interface_config_primary_get(sigar_t *sigar,
|
|||
return SIGAR_OK;
|
||||
}
|
||||
else {
|
||||
return SIGAR_ENOENT;
|
||||
return SIGAR_ENXIO;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue