From bb74ea2d6b8cf412e5f512efdf22e1ca706b06d6 Mon Sep 17 00:00:00 2001 From: elad Date: Fri, 14 Jul 2006 22:42:05 +0000 Subject: [PATCH] oops, forgot to handle new abi for "query", noted by he@, thanks! --- sbin/veriexecctl/veriexecctl.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sbin/veriexecctl/veriexecctl.c b/sbin/veriexecctl/veriexecctl.c index 7b5c7071920d..6c09f58629ca 100644 --- a/sbin/veriexecctl/veriexecctl.c +++ b/sbin/veriexecctl/veriexecctl.c @@ -1,4 +1,4 @@ -/* $NetBSD: veriexecctl.c,v 1.21 2006/07/14 18:41:40 elad Exp $ */ +/* $NetBSD: veriexecctl.c,v 1.22 2006/07/14 22:42:05 elad Exp $ */ /*- * Copyright 2005 Elad Efrat @@ -256,7 +256,6 @@ print_query(struct veriexec_query_params *qp, char *file) int i; printf("Filename: %s\n", file); - printf("Device: %d, inode: %" PRIu64 "\n", qp->dev, qp->ino); printf("Entry flags: "); print_flags(qp->type); printf("Entry status: %s\n", STATUS_STRING(qp->status)); @@ -323,7 +322,6 @@ main(int argc, char **argv) memset(&qp, 0, sizeof(qp)); qp.uaddr = &qp; - /* Get device and inode */ if (stat(argv[1], &sb) == -1) err(1, "Can't stat `%s'", argv[1]); if (!S_ISREG(sb.st_mode)) @@ -331,8 +329,6 @@ main(int argc, char **argv) strlcpy(qp.file, argv[1], sizeof(qp.file)); - qp.ino = sb.st_ino; - qp.dev = sb.st_dev; memset(fp, 0, sizeof(fp)); qp.fp = &fp[0]; qp.fp_bufsize = sizeof(fp);