diff --git a/subproc.cc b/subproc.cc index 95923c8..107cb9f 100644 --- a/subproc.cc +++ b/subproc.cc @@ -202,7 +202,7 @@ static void newProc(nsjconf_t* nsjconf, int netfd, int fd_in, int fd_out, int fd } auto connstr = net::connToText(netfd, /* remote= */ true, NULL); - LOG_I("Executing %s for '%s'", util::StrQuote(nsjconf->exec_file).c_str(), connstr.c_str()); + LOG_I("Executing %s for '%s'", QC(nsjconf->exec_file), connstr.c_str()); std::vector argv; for (const auto& s : nsjconf->argv) { @@ -210,8 +210,7 @@ static void newProc(nsjconf_t* nsjconf, int netfd, int fd_in, int fd_out, int fd } argv.push_back(nullptr); - LOG_D("Exec: %s, Args: [%s]", util::StrQuote(nsjconf->exec_file).c_str(), - concatArgs(argv).c_str()); + LOG_D("Exec: %s, Args: [%s]", QC(nsjconf->exec_file), concatArgs(argv).c_str()); /* Should be the last one in the sequence */ if (!sandbox::applyPolicy(nsjconf)) {