summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_lib.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_lib.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nxt_lib.c b/src/nxt_lib.c
index 1634a2b8..aba07dda 100644
--- a/src/nxt_lib.c
+++ b/src/nxt_lib.c
@@ -91,9 +91,12 @@ nxt_lib_start(const char *app, char **argv, char ***envp)
#elif (NXT_HPUX)
n = mpctl(MPC_GETNUMSPUS, NULL, NULL);
+#else
+ n = 0;
+
#endif
- nxt_debug(&nxt_main_task, "ncpu: %ui", n);
+ nxt_debug(&nxt_main_task, "ncpu: %d", n);
if (n > 1) {
nxt_ncpu = n;