1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-25 19:46:21 +00:00

No mode_t for open() for opening read-only file. (#241)

This commit is contained in:
Bruce Mitchener
2021-01-19 23:40:33 +07:00
committed by GitHub
parent 7a24b41fc4
commit 616b526516

View File

@@ -48,7 +48,7 @@ void check_sysout(char *sysout_file_name, int verbose) {
*/
/* open SysoutFile */
sysout = open(sysout_file_name, O_RDONLY, NULL);
sysout = open(sysout_file_name, O_RDONLY);
if (sysout == -1) {
sprintf(errmsg, "sysout_loader: can't open sysout file: %s", sysout_file_name);
perror(errmsg);