aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-04-21 13:47:42 +1000
committerDavid Walter Seikel2014-04-21 13:47:42 +1000
commite5630b4297d234b7fc1f51da06e5c12506130013 (patch)
tree4e2c55f24fbb58c14affc92898ce82046a61ad74
parentMinor comment fixes. (diff)
downloadboxes-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dumbsh.c b/dumbsh.c
index 7975ebe..9ad0204 100644
--- a/dumbsh.c
+++ b/dumbsh.c
@@ -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);