summaryrefslogtreecommitdiffstats
path: root/htop.c
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2011-09-08 04:29:23 +0000
committerHisham Muhammad <hisham@gobolinux.org>2011-09-08 04:29:23 +0000
commitb288eb88c07bfc0eaca5a2e30f0063e4dc039237 (patch)
tree99b1a9568e2dd5f2f755c2725f293417a175ce0e /htop.c
parent3e265ce4ab09f2808d33da110da6d9e1f0de4f4d (diff)
minor change to improve portability
Diffstat (limited to 'htop.c')
-rw-r--r--htop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/htop.c b/htop.c
index fd47a1e9..5d0fa61c 100644
--- a/htop.c
+++ b/htop.c
@@ -285,7 +285,7 @@ int main(int argc, char** argv) {
setlocale(LC_CTYPE, getenv("LC_ALL"));
/* Parse arguments */
- while ((opt = getopt_long_only(argc, argv, "hvCs:d:u:", long_opts, &opti))) {
+ while ((opt = getopt_long(argc, argv, "hvCs:d:u:", long_opts, &opti))) {
if (opt == EOF) break;
switch (opt) {
case 'h':

© 2014-2024 Faster IT GmbH | imprint | privacy policy