IT SHOULD BE /var/log/messages! AH HA!
This commit is contained in:
parent
a5122acea9
commit
6b3dc0818a
1 changed files with 1 additions and 1 deletions
2
logger.c
2
logger.c
|
@ -6,7 +6,7 @@ int main(int argc, char ** argv) {
|
||||||
}
|
}
|
||||||
|
|
||||||
int i = 1;
|
int i = 1;
|
||||||
FILE * log = fopen("/var/log/syslog", "a+");
|
FILE * log = fopen("/var/log/messages", "a+");
|
||||||
if(log == NULL) {
|
if(log == NULL) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue