mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-28 04:38:00 +00:00
No need for NULL mode arg to open when not creating a file. (#430)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user