[PATCH 1/5] reset: replace execvp call with BB_EXECVP

Nadav Tasher tashernadav at gmail.com
Thu Dec 19 21:10:03 UTC 2024


Signed-off-by: Nadav Tasher <tashernadav at gmail.com>
---
 console-tools/reset.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/console-tools/reset.c b/console-tools/reset.c
index 655a5ef7a..b2f34a1eb 100644
--- a/console-tools/reset.c
+++ b/console-tools/reset.c
@@ -58,7 +58,7 @@ int reset_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
 #else
 		/* Make sure stdout gets drained before we execvp */
 		fflush_all();
-		execvp("stty", (char**)args);
+		BB_EXECVP("stty", (char**)args);
 #endif
 	}
 	return EXIT_SUCCESS;
-- 
2.34.1



More information about the busybox mailing list