diff options
author | Eric Andersen | 1999-10-19 20:03:34 +0000 |
---|---|---|
committer | Eric Andersen | 1999-10-19 20:03:34 +0000 |
commit | e77ae3a2c0328590b43447550bdb1284650b8236 (patch) | |
tree | 1e46d5cf36870771a4f3cedfe84f6161c3871131 /loadkmap.c | |
parent | a3f09076ef5e9a2c26b4d0728cd066bba6c474e4 (diff) | |
download | busybox-e77ae3a2c0328590b43447550bdb1284650b8236.zip busybox-e77ae3a2c0328590b43447550bdb1284650b8236.tar.gz |
Added sfdisk. Ststic-ified a bunch of stuff.
Diffstat (limited to 'loadkmap.c')
-rw-r--r-- | loadkmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,7 +7,7 @@ #include <sys/ioctl.h> -const char loadkmap_usage[] = "loadkmap\n" +static const char loadkmap_usage[] = "loadkmap\n" "\n" "\tLoad a binary keyboard translation table from standard input.\n" "\n"; @@ -48,7 +48,7 @@ loadkmap_main(int argc, char * * argv) if (flags[i]==1){ pos=0; while (pos < ibuffsz) { - if ( (readsz = read(0,ibuff+pos,ibuffsz-pos)) < 0 ) { + if ( (readsz = read(0,(char *)ibuff+pos,ibuffsz-pos)) < 0 ) { fprintf(stderr, "Error reading keymap: %s\n", strerror(errno)); return 1; |