1
0
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:
Bruce Mitchener
2022-07-23 01:53:49 +07:00
committed by GitHub
parent 317f081409
commit 259658fa2c

View File

@@ -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);