X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=execute.c;h=0b4baee6478a0fce02893fe12f099f7b541429dc;hp=fe3dc8b251c502c33b6f2eacbfdcc880b6bbec1b;hb=2608882fe5438293f8a92050db3716242cde83fc;hpb=b1b2dc0ce9fb04d1c1a6ed0a4fee7011a79602f6 diff --git a/execute.c b/execute.c index fe3dc8b25..0b4baee64 100644 --- a/execute.c +++ b/execute.c @@ -467,7 +467,7 @@ fail: return r; } -static int restore_conform_stdio(const ExecContext *context, +static int restore_confirm_stdio(const ExecContext *context, int *saved_stdin, int *saved_stdout, bool *keep_stdin, @@ -822,7 +822,7 @@ int exec_spawn(ExecCommand *command, } /* Release terminal for the question */ - if ((r = restore_conform_stdio(context, + if ((r = restore_confirm_stdio(context, &saved_stdin, &saved_stdout, &keep_stdin, &keep_stdout))) goto fail;