summaryrefslogtreecommitdiff
path: root/lib/libkvm/kvm_udf.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2009-06-20 20:20:44 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2009-06-20 20:20:44 +0000
commita005f0130e8155f01a706f61d4362109cd47bc21 (patch)
treee9d231ebbb7b02b67b0036fe7ba33ea730aa3e24 /lib/libkvm/kvm_udf.c
parent4402975a348938d8cad34341962b18854da39d93 (diff)
Move KREAD define to kvm_private.h
Diffstat (limited to 'lib/libkvm/kvm_udf.c')
-rw-r--r--lib/libkvm/kvm_udf.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/libkvm/kvm_udf.c b/lib/libkvm/kvm_udf.c
index 0ebea8916dd..c891fb937ed 100644
--- a/lib/libkvm/kvm_udf.c
+++ b/lib/libkvm/kvm_udf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_udf.c,v 1.1 2009/06/20 19:50:05 millert Exp $ */
+/* $OpenBSD: kvm_udf.c,v 1.2 2009/06/20 20:20:43 millert Exp $ */
/*
* Copyright (c) 2001, 2002 Scott Long <scottl@freebsd.org>
@@ -27,7 +27,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: kvm_udf.c,v 1.1 2009/06/20 19:50:05 millert Exp $";
+static char *rcsid = "$OpenBSD: kvm_udf.c,v 1.2 2009/06/20 20:20:43 millert Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
@@ -51,9 +51,6 @@ static char *rcsid = "$OpenBSD: kvm_udf.c,v 1.1 2009/06/20 19:50:05 millert Exp
#include "kvm_private.h"
-#define KREAD(kd, addr, obj) \
- (kvm_read(kd, addr, obj, sizeof(*obj)) != sizeof(*obj))
-
/* Convert file entry permission (5 bits per owner/group/user) to a mode_t */
static mode_t
udf_permtomode(struct unode *up)