summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Fox2008-03-20 16:05:02 +0000
committerPaul Fox2008-03-20 16:05:02 +0000
commit275b929e0157c7e40a66df108b1e1954b59a2bdf (patch)
treef2f763cd43727d39160136cb6cdad81ee07c568d
parent9e1f92d0bb41c54bb1fccd12f7f7f93f71e78b52 (diff)
downloadbusybox-275b929e0157c7e40a66df108b1e1954b59a2bdf.zip
busybox-275b929e0157c7e40a66df108b1e1954b59a2bdf.tar.gz
let top build without TERMIOS enabled
-rw-r--r--procps/top.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/procps/top.c b/procps/top.c
index 85ceacc..e3f91c8 100644
--- a/procps/top.c
+++ b/procps/top.c
@@ -933,6 +933,8 @@ int top_main(int argc ATTRIBUTE_UNUSED, char **argv)
} /* end of "while (1)" */
bb_putchar('\n');
+#if ENABLE_FEATURE_USE_TERMIOS
reset_term();
+#endif
return EXIT_SUCCESS;
}