aboutsummaryrefslogtreecommitdiff
path: root/toys/other/clear.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/other/clear.c')
-rw-r--r--toys/other/clear.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/clear.c b/toys/other/clear.c
index 2515f735..4061ea8d 100644
--- a/toys/other/clear.c
+++ b/toys/other/clear.c
@@ -15,5 +15,5 @@ config CLEAR
void clear_main(void)
{
- write(1, "\e[2J\e[H", 7);
+ xwrite(1, "\e[2J\e[H", 7);
}