diff options
| author | elad <elad@NetBSD.org> | 2006-07-14 22:42:05 +0000 |
|---|---|---|
| committer | elad <elad@NetBSD.org> | 2006-07-14 22:42:05 +0000 |
| commit | bb74ea2d6b8cf412e5f512efdf22e1ca706b06d6 (patch) | |
| tree | e56a41fade32b28d5e47b50f7f7934d271ba5c7a | |
| parent | 9a7410fffff6a99fec39e66eed01d3a686c13f4e (diff) | |
oops, forgot to handle new abi for "query", noted by he@, thanks!
| -rw-r--r-- | sbin/veriexecctl/veriexecctl.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sbin/veriexecctl/veriexecctl.c b/sbin/veriexecctl/veriexecctl.c index 7b5c7071920..6c09f58629c 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 <elad@bsd.org.il> @@ -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); |
