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) | |||
68 | int parse_failed = 0; | 68 | int parse_failed = 0; |
69 | int is_unicode; | 69 | int is_unicode; |
70 | 70 | ||
71 | if (fstat(fp->_fileno, &stbuf)) | 71 | if (fstat(fileno(fp), &stbuf)) |
72 | perror("Cannot stat map file"), exit(1); | 72 | perror("Cannot stat map file"), exit(1); |
73 | 73 | ||
74 | /* first try a UTF screen-map: either ASCII (no restriction) or binary (regular file) */ | 74 | /* first try a UTF screen-map: either ASCII (no restriction) or binary (regular file) */ |