summaryrefslogtreecommitdiffstats
path: root/discover
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2018-08-02 17:29:35 +0000
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2018-08-07 11:30:36 +1000
commit214de247193d14a2de014e5e4cad1ab3df956c13 (patch)
tree02b144e050bda45fe8a32625c6daa459f86a7b87 /discover
parentecc2146363f272c5e34a4878d2144a01041d453f (diff)
downloadtalos-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.c2
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 */
OpenPOWER on IntegriCloud