Index: trunk/ppSub/src/ppSubArguments.c
===================================================================
--- trunk/ppSub/src/ppSubArguments.c	(revision 27079)
+++ trunk/ppSub/src/ppSubArguments.c	(revision 27080)
@@ -157,5 +157,5 @@
     if (threads > 0) {
         if (!psThreadPoolInit(threads)) {
-            psError(PS_ERR_PROG, false, "Unable to setup %d threads", threads);
+            psError(psErrorCodeLast(), false, "Unable to setup %d threads", threads);
             return false;
         }
