1
0
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:
Bruce Mitchener 2022-07-23 01:53:49 +07:00 committed by GitHub
parent 317f081409
commit 259658fa2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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