diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2009-06-20 20:20:44 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2009-06-20 20:20:44 +0000 |
commit | a005f0130e8155f01a706f61d4362109cd47bc21 (patch) | |
tree | e9d231ebbb7b02b67b0036fe7ba33ea730aa3e24 /lib/libkvm/kvm_udf.c | |
parent | 4402975a348938d8cad34341962b18854da39d93 (diff) |
Move KREAD define to kvm_private.h
Diffstat (limited to 'lib/libkvm/kvm_udf.c')
-rw-r--r-- | lib/libkvm/kvm_udf.c | 7 |
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) |