From 72d1261e86b2fba18a6f4840d2a2a5ab54974718 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sat, 19 Dec 2009 03:43:03 +0000 Subject: cleanup git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1062 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- lib/libsystem.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/libsystem.c') 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. -- cgit 1.4.1