From 36ef6d6a310d7a4a35a3c505d041e9fbd11125fa Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Fri, 21 Aug 2009 16:00:27 -0400 Subject: PR10544: clean up stap child process error handling * util.cxx (stap_system): Take extra verbosity value. Standardize error handling / tracing. * util.h: Corresponding changes. * buildrun.cxx, main.cxx, modsign.cxx: Update callers. --- util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util.h') diff --git a/util.h b/util.h index 4921cef7..1577bb54 100644 --- a/util.h +++ b/util.h @@ -16,7 +16,7 @@ void tokenize(const std::string& str, std::vector& tokens, std::string find_executable(const std::string& name); const std::string cmdstr_quoted(const std::string& cmd); std::string git_revision(const std::string& path); -int stap_system(const char *command); +int stap_system(int verbose, const std::string& command); int kill_stap_spawn(int sig); -- cgit