From b288eb88c07bfc0eaca5a2e30f0063e4dc039237 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Thu, 8 Sep 2011 04:29:23 +0000 Subject: [PATCH] minor change to improve portability --- htop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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':