diff options
-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); |