Remove macro S_IRWUG

Use its expansion instead.
This commit is contained in:
Markus Armbruster 2009-04-13 17:27:08 +02:00
parent 1c08ccf25b
commit c665c83ba4
5 changed files with 8 additions and 9 deletions

View file

@ -69,7 +69,8 @@ logopen(void)
{
int fd;
fd = open(logfile, O_WRONLY | O_CREAT | O_APPEND, S_IRWUG);
fd = open(logfile, O_WRONLY | O_CREAT | O_APPEND,
S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP);
if (fd < 0)
logerror("Can't open %s (%s)", logfile, strerror(errno));
return fd;