Browse code

typo fix: immediatly -> immediately

Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>

Hu Tao authored on 2014/09/05 17:22:32
Showing 1 changed files
... ...
@@ -60,7 +60,7 @@ func wait(waitChan <-chan struct{}, timeout time.Duration) error {
60 60
 }
61 61
 
62 62
 // WaitRunning waits until state is running. If state already running it returns
63
-// immediatly. If you want wait forever you must supply negative timeout.
63
+// immediately. If you want wait forever you must supply negative timeout.
64 64
 // Returns pid, that was passed to SetRunning
65 65
 func (s *State) WaitRunning(timeout time.Duration) (int, error) {
66 66
 	s.Lock()
... ...
@@ -78,7 +78,7 @@ func (s *State) WaitRunning(timeout time.Duration) (int, error) {
78 78
 }
79 79
 
80 80
 // WaitStop waits until state is stopped. If state already stopped it returns
81
-// immediatly. If you want wait forever you must supply negative timeout.
81
+// immediately. If you want wait forever you must supply negative timeout.
82 82
 // Returns exit code, that was passed to SetStopped
83 83
 func (s *State) WaitStop(timeout time.Duration) (int, error) {
84 84
 	s.Lock()