Fix a typo in NANOSLEEP
authorPaul Khuong <pvk@pvk.ca>
Tue, 23 Aug 2011 18:49:32 +0000 (14:49 -0400)
committerPaul Khuong <pvk@pvk.ca>
Tue, 23 Aug 2011 18:59:41 +0000 (14:59 -0400)
 Missing pluralization in the #!+darwin code path.

src/code/unix.lisp

index 412ecdc..248f72e 100644 (file)
@@ -977,8 +977,8 @@ corresponds to NAME, or NIL if there is none."
                        (when (or (> secs rem-sec)
                                  (and (= secs rem-sec) (>= nsecs rem-nsec)))
                          ;; Update for next round.
-                         (setf sec rem-sec
-                               nsec rem-nsec)
+                         (setf secs  rem-sec
+                               nsecs rem-nsec)
                          t)))
           do (setf (slot req 'tv-sec) (slot rem 'tv-sec)
                    (slot req 'tv-nsec) (slot rem 'tv-nsec)))))