1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-16 16:19:10 +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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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