Skip to content

Commit

Permalink
setarch: nicer error message for execvp
Browse files Browse the repository at this point in the history
  • Loading branch information
q66 committed May 13, 2024
1 parent b945b3e commit 70ee317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src.custom/setarch/setarch.c
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ int main(int argc, char **argv) {
fflush(NULL);
}
execvp(argv[0], argv);
err(1, "execvp");
err(1, "execvp: failed to execute '%s'", argv[0]);
return 1;
}

Expand Down

0 comments on commit 70ee317

Please sign in to comment.