aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-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);