vmm: Handle mov with zero-extend
[akaros.git] / tests / alarm.c
index 68b310d..ce72778 100644 (file)
@@ -10,7 +10,7 @@
 #include <unistd.h>
 #include <parlib/event.h>
 #include <benchutil/measure.h>
-#include <benchutil/alarm.h>
+#include <parlib/alarm.h>
 #include <parlib/uthread.h>
 #include <parlib/timing.h>
 
@@ -61,7 +61,7 @@ int main(int argc, char **argv)
                perror("Failed to set timer");
                exit(-1);
        }
-       if (devalarm_disable(ctlfd)) {
+       if (devalarm_disable(timerfd)) {
                perror("Failed to cancel timer");
                exit(-1);
        }