mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-23 22:55:46 +00:00
minor change to improve portability
This commit is contained in:
parent
3e265ce4ab
commit
b288eb88c0
2
htop.c
2
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':
|
||||
|
Loading…
Reference in New Issue
Block a user