diff options
Diffstat (limited to 'usr.bin/fstat/fstat.c')
-rw-r--r-- | usr.bin/fstat/fstat.c | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/usr.bin/fstat/fstat.c b/usr.bin/fstat/fstat.c index 281527019f2..2d79265868c 100644 --- a/usr.bin/fstat/fstat.c +++ b/usr.bin/fstat/fstat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fstat.c,v 1.86 2016/01/02 13:22:52 semarie Exp $ */ +/* $OpenBSD: fstat.c,v 1.87 2016/04/25 19:18:41 tedu Exp $ */ /* * Copyright (c) 2009 Todd C. Miller <Todd.Miller@courtesan.com> @@ -120,7 +120,6 @@ void print_inet6_details(struct kinfo_file *); #endif void print_sock_details(struct kinfo_file *); void socktrans(struct kinfo_file *); -void systracetrans(struct kinfo_file *); void vtrans(struct kinfo_file *); const char *inet6_addrstr(struct in6_addr *); int signame_to_signum(char *); @@ -386,10 +385,6 @@ fstat_dofile(struct kinfo_file *kf) if (checkfile == 0) kqueuetrans(kf); break; - case DTYPE_SYSTRACE: - if (checkfile == 0) - systracetrans(kf); - break; default: if (vflg) { warnx("unknown file type %d for file %d of pid %ld", @@ -539,19 +534,6 @@ kqueuetrans(struct kinfo_file *kf) return; } -void -systracetrans(struct kinfo_file *kf) -{ - PREFIX(kf->fd_fd); - - printf(" "); - - printf("systrace "); - hide((void *)(uintptr_t)kf->f_data); - printf(" npol %d\n", kf->str_npolicies); - return; -} - #ifdef INET6 const char * inet6_addrstr(struct in6_addr *p) |