diff options
Diffstat (limited to 'games/hack/hack.pager.c')
-rw-r--r-- | games/hack/hack.pager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/games/hack/hack.pager.c b/games/hack/hack.pager.c index 13382aceda4..c07881bfbc4 100644 --- a/games/hack/hack.pager.c +++ b/games/hack/hack.pager.c @@ -301,7 +301,7 @@ boolean silent; { /* use external pager; this may give security problems */ - register int fd = open(fnam, 0); + register int fd = open(fnam, O_RDONLY); if(fd < 0) { if(!silent) pline("Cannot open %s.", fnam); |