helly           Sun Aug 31 10:33:18 2003 EDT

  Modified files:              
    /php-src/ext/pcntl  pcntl.c 
  Log:
  Fix format specifiers
  
Index: php-src/ext/pcntl/pcntl.c
diff -u php-src/ext/pcntl/pcntl.c:1.37 php-src/ext/pcntl/pcntl.c:1.38
--- php-src/ext/pcntl/pcntl.c:1.37      Sun Aug 31 08:41:45 2003
+++ php-src/ext/pcntl/pcntl.c   Sun Aug 31 10:33:17 2003
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: pcntl.c,v 1.37 2003/08/31 12:41:45 zeev Exp $ */
+/* $Id: pcntl.c,v 1.38 2003/08/31 14:33:17 helly Exp $ */
 
 #define PCNTL_DEBUG 0
 
@@ -534,13 +534,13 @@
        if (errno) {
                switch (errno) {
                        case ESRCH:
-                               php_error_docref(NULL TSRMLS_CC, E_WARNING, "%l: No 
process was located using the given parameters.", errno);
+                               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error %d: 
No process was located using the given parameters.", errno);
                                break;
                        case EINVAL:
-                               php_error_docref(NULL TSRMLS_CC, E_WARNING, "%l: 
Invalid identifier flag.", errno);
+                               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error %d: 
Invalid identifier flag.", errno);
                                break;
                        default:
-                               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown 
error %l has occured.", errno);
+                               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown 
error %d has occured.", errno);
                                break;
                }
                RETURN_FALSE;
@@ -567,19 +567,19 @@
        if (setpriority(who, pid, pri)) {
                switch (errno) {
                        case ESRCH:
-                               php_error_docref(NULL TSRMLS_CC, E_WARNING, "%l: No 
process was located using the given parameters.", errno);
+                               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error %d: 
No process was located using the given parameters.", errno);
                                break;
                        case EINVAL:
-                               php_error_docref(NULL TSRMLS_CC, E_WARNING, "%l: 
Invalid identifier flag.", errno);
+                               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error %d: 
Invalid identifier flag.", errno);
                                break;
                        case EPERM:
-                               php_error_docref(NULL TSRMLS_CC, E_WARNING, "%l: A 
process was located, but neither its effective nor real user ID matched the effective 
user ID of the caller.", errno);
+                               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error %d: 
A process was located, but neither its effective nor real user ID matched the 
effective user ID of the caller.", errno);
                                break;
                        case EACCES:
-                               php_error_docref(NULL TSRMLS_CC, E_WARNING, "%l: Only 
a super user may attempt to increase the process priority.", errno);
+                               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error %d: 
Only a super user may attempt to increase the process priority.", errno);
                                break;
                        default:
-                               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown 
error %l has occured.", errno);
+                               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown 
error %d has occured.", errno);
                                break;
                }
                RETURN_FALSE;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to