aboutsummaryrefslogtreecommitdiff
path: root/loadacm.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-09 06:59:58 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-09 06:59:58 +0000
commitb71a0fe71e5b0b450afc392a182ec5f3b7488408 (patch)
tree75d6c4187384bc385d59838834bac80f53a077cd /loadacm.c
parent8addc88df4e17c82c6c73cc1e48bf78c6cdf48a7 (diff)
downloadbusybox-w32-b71a0fe71e5b0b450afc392a182ec5f3b7488408.tar.gz
busybox-w32-b71a0fe71e5b0b450afc392a182ec5f3b7488408.tar.bz2
busybox-w32-b71a0fe71e5b0b450afc392a182ec5f3b7488408.zip
More portability updates. Now compiles cleanly vs glibc, libc5, and uclibc
(except for mkfs_minix and fsck_minix -- and it doesn't yet link vs uclibc due to missing stuff in the library). -Erik git-svn-id: svn://busybox.net/trunk/busybox@795 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'loadacm.c')
-rw-r--r--loadacm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loadacm.c b/loadacm.c
index cf393d92d..a64c691d2 100644
--- a/loadacm.c
+++ b/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) */