mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
Log if fopen() fails.
Reviewed by: brian
This commit is contained in:
parent
2d2d15a964
commit
bc92b07848
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=214011
@ -319,8 +319,11 @@ ipcp_WriteDNS(struct ipcp *ipcp)
|
||||
strerror(errno));
|
||||
return 0;
|
||||
}
|
||||
} else
|
||||
} else {
|
||||
umask(mask);
|
||||
log_Printf(LogERROR,"fopen(\"%s\", \"w\") failed: %s\n", _PATH_RESCONF,
|
||||
strerror(errno));
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user