X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=common%2Fos_posix.cpp;h=0d93b31bcafa6e56604fa639a7656d20128835ca;hb=c3fe91d4c597da17e1eb9e75d36176465f44060a;hp=7d39d8ada5e0ffafc0f730bcdd3e913744f734d2;hpb=1da480dd320a9d3d631a94025ca40609099f6d34;p=apitrace diff --git a/common/os_posix.cpp b/common/os_posix.cpp index 7d39d8a..0d93b31 100644 --- a/common/os_posix.cpp +++ b/common/os_posix.cpp @@ -134,7 +134,11 @@ int execute(char * const * args) if (pid == 0) { // child execvp(args[0], args); - fprintf(stderr, "error: failed to execute %s\n", args[0]); + fprintf(stderr, "error: failed to execute:"); + for (unsigned i = 0; args[i]; ++i) { + fprintf(stderr, " %s", args[i]); + } + fprintf(stderr, "\n"); exit(-1); } else { // parent