mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtaction:: Resolve uninitialized warnings, use a set access more for the SULog file
This commit is contained in:
parent
93a0b4bc7e
commit
8844150d7f
1 changed files with 1 additions and 1 deletions
|
@ -622,7 +622,7 @@ AddSuLog(
|
|||
* take away write access from SULog
|
||||
*/
|
||||
|
||||
if(chmod (SULog, (int) (st.st_mode & 07777) & ~0222) == -1) {
|
||||
if(chmod (SULog, 0400) == -1) {
|
||||
fprintf(stderr, "Error on chmod of '%s', %s\n", SULog, strerror(errno));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue