about summary refs log tree commit diff
path: root/Src/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/init.c')
-rw-r--r--Src/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/init.c b/Src/init.c
index cf5a6074d..123e20e85 100644
--- a/Src/init.c
+++ b/Src/init.c
@@ -1331,7 +1331,7 @@ VA_DCL
 	pptbuf = unmetafy(promptexpand(lp ? *lp : NULL, 0, NULL, NULL,
 				       NULL),
 			  &pptlen);
-	write(2, (WRITE_ARG_2_T)pptbuf, pptlen);
+	write_loop(2, (WRITE_ARG_2_T)pptbuf, pptlen);
 	free(pptbuf);
 
 	ret = shingetline();