| @@ -498,27 +498,27 @@ renice_procs(char *str) | | | @@ -498,27 +498,27 @@ renice_procs(char *str) |
498 | | | 498 | |
499 | #if defined(PRIO_MIN) && defined(PRIO_MAX) | | 499 | #if defined(PRIO_MIN) && defined(PRIO_MAX) |
500 | /* check for validity */ | | 500 | /* check for validity */ |
501 | if (procnum == -1 || prio < PRIO_MIN || prio > PRIO_MAX) | | 501 | if (procnum == -1 || prio < PRIO_MIN || prio > PRIO_MAX) |
502 | { | | 502 | { |
503 | message_error(" renice: bad priority value"); | | 503 | message_error(" renice: bad priority value"); |
504 | return; | | 504 | return; |
505 | } | | 505 | } |
506 | #endif | | 506 | #endif |
507 | | | 507 | |
508 | /* move to the first process number */ | | 508 | /* move to the first process number */ |
509 | if ((str = next_field(str)) == NULL) | | 509 | if ((str = next_field(str)) == NULL) |
510 | { | | 510 | { |
511 | message_error(" remice: no processes specified"); | | 511 | message_error(" renice: no processes specified"); |
512 | return; | | 512 | return; |
513 | } | | 513 | } |
514 | | | 514 | |
515 | #ifdef HAVE_SETPRIORITY | | 515 | #ifdef HAVE_SETPRIORITY |
516 | /* loop thru the process numbers, renicing each one */ | | 516 | /* loop thru the process numbers, renicing each one */ |
517 | do | | 517 | do |
518 | { | | 518 | { |
519 | if (scanint(str, &procnum) == -1) | | 519 | if (scanint(str, &procnum) == -1) |
520 | { | | 520 | { |
521 | ERROR(str, 0); | | 521 | ERROR(str, 0); |
522 | } | | 522 | } |
523 | | | 523 | |
524 | /* check process owner if we're not root */ | | 524 | /* check process owner if we're not root */ |