aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/syz-stress/stress.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/syz-stress/stress.go b/tools/syz-stress/stress.go
index 8bd56583a..defcb38a3 100644
--- a/tools/syz-stress/stress.go
+++ b/tools/syz-stress/stress.go
@@ -141,6 +141,7 @@ func buildCallList() map[*sys.Call]bool {
calls, err := host.DetectSupportedSyscalls()
if err != nil {
log.Printf("failed to detect host supported syscalls: %v", err)
+ calls = make(map[*sys.Call]bool)
for _, c := range sys.Calls {
calls[c] = true
}