aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/execprog/execprog.go2
-rw-r--r--tools/stress/stress.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/execprog/execprog.go b/tools/execprog/execprog.go
index 02cf5df00..471808b6c 100644
--- a/tools/execprog/execprog.go
+++ b/tools/execprog/execprog.go
@@ -88,7 +88,7 @@ func main() {
}
for {
idx := int(atomic.AddUint32(&pos, 1) - 1)
- if idx%len(progs) == 0{
+ if idx%len(progs) == 0 {
log.Printf("executed %v programs\n", idx)
}
if !*flagLoop && idx >= len(progs) {
diff --git a/tools/stress/stress.go b/tools/stress/stress.go
index 50ee04a61..db201e690 100644
--- a/tools/stress/stress.go
+++ b/tools/stress/stress.go
@@ -60,7 +60,7 @@ func main() {
}
}()
}
- select{}
+ select {}
}
func execute(env *ipc.Env, p *prog.Prog) {