]> Zhao Yanbai Git Server - minix.git/commitdiff
bugfix
authorBen Gras <ben@minix3.org>
Mon, 6 Jun 2005 11:31:20 +0000 (11:31 +0000)
committerBen Gras <ben@minix3.org>
Mon, 6 Jun 2005 11:31:20 +0000 (11:31 +0000)
lib/utils/tickdelay.c

index d744f96f268f9a6d6e6bef79f0fbd20ff95f8d5c..4e1501093d1cf7af12bdd7b1c2ac075207537be2 100644 (file)
@@ -25,7 +25,7 @@ long ticks;                           /* number of ticks to wait */
     s = _taskcall(SYSTASK, SYS_SYNCALRM, &m);
     if (s != OK) return(s);
 
-    receive(HARDWARE,&m_alarm);                /* await synchronous alarm */
+    receive(CLOCK,&m_alarm);           /* await synchronous alarm */
 
     /* Check if we must reschedule the current alarm. */
     if (m.ALRM_TIME_LEFT > 0) {