Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Fox <pgf@brightstareng.com>2008-03-20 19:05:02 +0300
committerPaul Fox <pgf@brightstareng.com>2008-03-20 19:05:02 +0300
commit275b929e0157c7e40a66df108b1e1954b59a2bdf (patch)
treef2f763cd43727d39160136cb6cdad81ee07c568d
parent9e1f92d0bb41c54bb1fccd12f7f7f93f71e78b52 (diff)
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 85ceaccf7..e3f91c8f9 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;
}