mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-14 15:36:34 +00:00
No need for NULL mode arg to open when not creating a file. (#430)
This commit is contained in:
parent
317f081409
commit
259658fa2c
@ -54,7 +54,7 @@ void set_sysout(int version, char *sysout_file_name) {
|
||||
*/
|
||||
|
||||
/* open SysoutFile */
|
||||
sysout = open(sysout_file_name, O_RDWR, NULL);
|
||||
sysout = open(sysout_file_name, O_RDWR);
|
||||
if (sysout == -1) {
|
||||
sprintf(errmsg, "sysout_loader: can't open sysout file: %s", sysout_file_name);
|
||||
perror(errmsg);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user