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:
parent
7a24b41fc4
commit
616b526516
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user