diff options
Diffstat (limited to 'console-tools/loadacm.c')
-rw-r--r-- | console-tools/loadacm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/console-tools/loadacm.c b/console-tools/loadacm.c index cf393d92d..a64c691d2 100644 --- a/console-tools/loadacm.c +++ b/console-tools/loadacm.c @@ -68,7 +68,7 @@ int screen_map_load(int fd, FILE * fp) int parse_failed = 0; int is_unicode; - if (fstat(fp->_fileno, &stbuf)) + if (fstat(fileno(fp), &stbuf)) perror("Cannot stat map file"), exit(1); /* first try a UTF screen-map: either ASCII (no restriction) or binary (regular file) */ |