service utility fix
- of course 0 is a valid cpu
This commit is contained in:
parent
81f6039a7f
commit
62d44dc9ef
2 changed files with 3 additions and 3 deletions
|
@ -721,7 +721,7 @@ PRIVATE void do_cpu(config_t *cpe)
|
|||
cpe->word, cpe->file, cpe->line);
|
||||
}
|
||||
|
||||
if (cpu <= 0)
|
||||
if (cpu < 0)
|
||||
{
|
||||
fatal("do_cpu: %d out of range at %s:%d",
|
||||
cpu, cpe->file, cpe->line);
|
||||
|
|
|
@ -49,8 +49,8 @@ struct rs_start
|
|||
uid_t rss_uid;
|
||||
endpoint_t rss_sigmgr;
|
||||
endpoint_t rss_scheduler;
|
||||
unsigned rss_priority;
|
||||
unsigned rss_quantum;
|
||||
int rss_priority;
|
||||
int rss_quantum;
|
||||
int rss_major;
|
||||
int rss_dev_style;
|
||||
long rss_period;
|
||||
|
|
Loading…
Reference in a new issue