summaryrefslogtreecommitdiff
path: root/libgo/go/old/netchan/import.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/old/netchan/import.go')
-rw-r--r--libgo/go/old/netchan/import.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/old/netchan/import.go b/libgo/go/old/netchan/import.go
index a6da8210b99..50abaa9fa5a 100644
--- a/libgo/go/old/netchan/import.go
+++ b/libgo/go/old/netchan/import.go
@@ -281,7 +281,7 @@ func (imp *Importer) Drain(timeout int64) error {
if timeout > 0 && time.Now().After(deadline) {
return errors.New("timeout")
}
- time.Sleep(100 * 1e6)
+ time.Sleep(100 * time.Millisecond)
}
return nil
}