summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2017-10-13 23:51:48 +0300
committerDmitry Kozlov <xeb@mail.ru>2017-10-13 23:51:48 +0300
commit0ce5c789bc6c27852c9efeb1d7ab84aa44b551a5 (patch)
treee3db58f6c772238f352bcc69ffc463c0fbd1c676
parentcf24c160195be9960e4c4b413803ece7c87ef2c7 (diff)
downloadaccel-ppp-0ce5c789bc6c27852c9efeb1d7ab84aa44b551a5.tar.gz
accel-ppp-0ce5c789bc6c27852c9efeb1d7ab84aa44b551a5.zip
pppd_compat: fixed typo
-rw-r--r--accel-pppd/extra/pppd_compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/extra/pppd_compat.c b/accel-pppd/extra/pppd_compat.c
index 03ddf29b..0aca3e6e 100644
--- a/accel-pppd/extra/pppd_compat.c
+++ b/accel-pppd/extra/pppd_compat.c
@@ -736,7 +736,7 @@ static void load_config()
if (opt)
conf_fork_limit = atoi(opt);
else
- conf_fork_limit = sysconf(_SC_NPROCESSORS_ONLN*2);
+ conf_fork_limit = sysconf(_SC_NPROCESSORS_ONLN)*2;
}
static void init(void)