path: root/src/exec.c
Side-by-side diff
Diffstat (limited to 'src/exec.c') (more/less context) (ignore whitespace changes)
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exec.c b/src/exec.c
index ed7ee1e..7ebf152 100644
--- a/src/exec.c
+++ b/src/exec.c
@@ -66,25 +66,25 @@ start_prog (int argc, const char **argv, pid_t *ppid)
return fp;
/* Log everything read from FP as the output from the program PROG, using
syslog priority PRIO. */
log_output (int prio, const char *prog, FILE *fp)
size_t size = 0;
char *buf = NULL;
logmsg (prio, _("%s output follows:"), prog);
- while (getline (&buf, &size, fp) > 0)
+ while (grecs_getline (&buf, &size, fp) > 0)
logmsg (prio, "%s", buf);
logmsg (prio, _("end of %s output"), prog);
free (buf);
/* Execute ARGC/ARGV. Return the exit code in RETCODE. */
enum exec_result
wydawca_exec (int argc, const char **argv, int *retcode)
FILE *fp;
pid_t pid, npid;
int status;

Return to:

Send suggestions and report system problems to the System administrator.