diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2009-12-19 03:43:03 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2009-12-19 03:43:03 +0000 |
commit | 72d1261e86b2fba18a6f4840d2a2a5ab54974718 (patch) | |
tree | 2b5083f818a7427c152dda66766089e06a2a8c56 /lib | |
parent | dc95234f43ac557f67062d725646e9bf5d21374a (diff) | |
download | netpbm-mirror-72d1261e86b2fba18a6f4840d2a2a5ab54974718.tar.gz netpbm-mirror-72d1261e86b2fba18a6f4840d2a2a5ab54974718.tar.xz netpbm-mirror-72d1261e86b2fba18a6f4840d2a2a5ab54974718.zip |
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1062 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libsystem.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libsystem.c b/lib/libsystem.c index 2b00191f..64ebc46a 100644 --- a/lib/libsystem.c +++ b/lib/libsystem.c @@ -153,7 +153,7 @@ spawnProcessor(const char * const progName, rc = fork(); if (rc < 0) { - pm_error("fork() of processor process failed. errno=%d (%s)\n", + pm_error("fork() of processor process failed. errno=%d (%s)", errno, strerror(errno)); } else if (rc == 0) { /* The program child */ @@ -243,8 +243,10 @@ pm_system_vp(const char * const progName, But if 'stdinFeeder' is NULL, just feed the program our own Standard Input. And if 'stdoutFeeder' is NULL, just send its Standard Output to our own Standard Output. ------------------------------------------------------------------------------*/ + Run the program 'progName' with arguments argArray[] (terminated by NULL + element). That includes arg0. +-----------------------------------------------------------------------------*/ /* If 'stdinFeeder' is non-NULL, we create a child process to run 'stdinFeeder' and create a pipe from that process as the program's Standard Input. |