aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/csource/csource.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2024-05-17 12:48:07 +0200
committerAleksandr Nogikh <nogikh@google.com>2024-05-17 11:26:58 +0000
commita12e99e74dfc7cbe54720d8383cec46aaf024a28 (patch)
tree1f53d3842efba0b71cea49b4948c0c24450e47f9 /pkg/csource/csource.go
parente09a60f8522234ba7968e421dd9d2e6d86af69db (diff)
pkg/csource: remove the Repro option
Enable it unconditionally.
Diffstat (limited to 'pkg/csource/csource.go')
-rw-r--r--pkg/csource/csource.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkg/csource/csource.go b/pkg/csource/csource.go
index 3d019a59c..1f338b893 100644
--- a/pkg/csource/csource.go
+++ b/pkg/csource/csource.go
@@ -188,9 +188,7 @@ func (ctx *context) generateSyscalls(calls []string, hasVars bool) string {
if len(calls) > 0 && (hasVars || opts.Trace) {
fmt.Fprintf(buf, "\tintptr_t res = 0;\n")
}
- if opts.Repro {
- fmt.Fprintf(buf, "\tif (write(1, \"executing program\\n\", sizeof(\"executing program\\n\") - 1)) {}\n")
- }
+ fmt.Fprintf(buf, "\tif (write(1, \"executing program\\n\", sizeof(\"executing program\\n\") - 1)) {}\n")
if opts.Trace {
fmt.Fprintf(buf, "\tfprintf(stderr, \"### start\\n\");\n")
}