MTC_BOND_STATUS
check_bonding_status()
{
......
if ((fp = fopen(bonding_status, "r")) == NULL)
{
log_message(MTC_LOG_WARNING,
"BM: cannot open bonding status file (%s). (%d)\n", bonding_status, errno);
assert(errno == ENOENT);
return BOND_STATUS_NOBOND;
}
As you can see, when log dir has no spaces, the errno return by fopen will be changed.
As you can see, when log dir has no spaces, the errno return by fopen will be changed.