aboutsummaryrefslogtreecommitdiffstats
path: root/prog/rand.go
diff options
context:
space:
mode:
Diffstat (limited to 'prog/rand.go')
-rw-r--r--prog/rand.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/prog/rand.go b/prog/rand.go
index 6c58f7649..c55d43a3f 100644
--- a/prog/rand.go
+++ b/prog/rand.go
@@ -663,8 +663,9 @@ func (target *Target) GenSampleProg(meta *Syscall, rs rand.Source) *Prog {
// Also used for testing as the simplest program.
func (target *Target) DataMmapProg() *Prog {
return &Prog{
- Target: target,
- Calls: target.MakeDataMmap(),
+ Target: target,
+ Calls: target.MakeDataMmap(),
+ isUnsafe: true,
}
}