Merge commit 'refs/top-bases/linux-zfs-branch' into linux-zfs-branch

This commit is contained in:
Brian Behlendorf 2008-12-10 16:17:32 -08:00
commit 9e9e801d8e
2 changed files with 5 additions and 1 deletions

View File

@ -11,6 +11,9 @@ LIBRARY := libspl
HOSTCFLAGS += @HOSTCFLAGS@
HOSTCFLAGS += -I@LIBDIR@/libspl/include
HOSTLDFLAGS += -pthread
HOSTLDFLAGS += -lrt
hostprogs-y := zu
always := $(hostprogs-y)

View File

@ -26,6 +26,7 @@
#pragma ident "%Z%%M% %I% %E% SMI"
#include <time.h>
#include <sys/time.h>
#include <stdlib.h>
#include <stdio.h>
@ -38,7 +39,7 @@ gethrtime(void)
rc = clock_gettime(CLOCK_MONOTONIC, &ts);
if (rc) {
fprintf(stderr, "Error: clock_gettime() = %d\n", rc)
fprintf(stderr, "Error: clock_gettime() = %d\n", rc);
abort();
}