diff options
author | Geoff Levand <geoff@infradead.org> | 2018-08-02 17:29:35 +0000 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2018-08-07 11:30:36 +1000 |
commit | 214de247193d14a2de014e5e4cad1ab3df956c13 (patch) | |
tree | 02b144e050bda45fe8a32625c6daa459f86a7b87 /discover | |
parent | ecc2146363f272c5e34a4878d2144a01041d453f (diff) | |
download | talos-petitboot-214de247193d14a2de014e5e4cad1ab3df956c13.tar.gz talos-petitboot-214de247193d14a2de014e5e4cad1ab3df956c13.zip |
lib/process: Cleanup stdout callback
General cleanup of async stdout processing.
The process_stdout_cb and process_stdout_custom routines were doing the
same thing, so rename process_stdout_custom to process_process_stdout
and make process_stdout_cb a wrapper that calls process_process_stdout.
Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'discover')
-rw-r--r-- | discover/paths.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discover/paths.c b/discover/paths.c index e30f032..54b843e 100644 --- a/discover/paths.c +++ b/discover/paths.c @@ -158,7 +158,7 @@ static int busybox_progress_cb(void *arg) p = procinfo_get_process(procinfo); handler = p->stdout_data; - rc = process_stdout_custom(procinfo, &line); + rc = process_process_stdout(procinfo, &line); if (rc) { /* Unregister ourselves from progress tracking */ |