diff options
author | Rob Landley <rob@landley.net> | 2011-11-13 21:05:28 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2011-11-13 21:05:28 -0600 |
commit | 8d43d913f977e7dd4d6a2a9177a4f303bf60c1c5 (patch) | |
tree | 63f727544a1c2d8b2a7566ef083427fafc619fd6 /lib/lib.c | |
parent | 43c2e62d74f1cf1e8b20b87bacac5b7b3e454f99 (diff) | |
download | toybox-8d43d913f977e7dd4d6a2a9177a4f303bf60c1c5.tar.gz |
xreadall() returns void... how does that even compile?
Diffstat (limited to 'lib/lib.c')
-rw-r--r-- | lib/lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -570,7 +570,7 @@ char *readfile(char *name) if (fd == -1) return 0; len = fdlength(fd); buf = xmalloc(len+1); - buf[xreadall(fd, buf, len)] = 0; + buf[readall(fd, buf, len)] = 0; return buf; } |