diff options
author | David Walter Seikel | 2014-04-21 13:47:42 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-04-21 13:47:42 +1000 |
commit | e5630b4297d234b7fc1f51da06e5c12506130013 (patch) | |
tree | 4e2c55f24fbb58c14affc92898ce82046a61ad74 | |
parent | Minor comment fixes. (diff) | |
download | boxes-e5630b4297d234b7fc1f51da06e5c12506130013.zip boxes-e5630b4297d234b7fc1f51da06e5c12506130013.tar.gz boxes-e5630b4297d234b7fc1f51da06e5c12506130013.tar.bz2 boxes-e5630b4297d234b7fc1f51da06e5c12506130013.tar.xz |
Updated to match toybox 0.4.8, xmsprintf() -> xmprintf().
-rw-r--r-- | dumbsh.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -239,7 +239,7 @@ void dumbsh_main(void) | |||
239 | int fd; | 239 | int fd; |
240 | 240 | ||
241 | // Load bash history. | 241 | // Load bash history. |
242 | t = xmsprintf("%s/%s", t ? t : "", ".bash_history"); | 242 | t = xmprintf("%s/%s", t ? t : "", ".bash_history"); |
243 | if (-1 != (fd = open(t, O_RDONLY))) | 243 | if (-1 != (fd = open(t, O_RDONLY))) |
244 | { | 244 | { |
245 | while ((t = get_line(fd))) TT.history = dlist_add(&TT.history, t); | 245 | while ((t = get_line(fd))) TT.history = dlist_add(&TT.history, t); |