summaryrefslogtreecommitdiff
path: root/usr.bin/systat/pftop.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/systat/pftop.c')
-rw-r--r--usr.bin/systat/pftop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/systat/pftop.c b/usr.bin/systat/pftop.c
index dcaf142e863..33479c5e7b1 100644
--- a/usr.bin/systat/pftop.c
+++ b/usr.bin/systat/pftop.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pftop.c,v 1.31 2015/02/09 02:00:38 jsg Exp $ */
+/* $OpenBSD: pftop.c,v 1.32 2015/08/20 22:32:42 deraadt Exp $ */
/*
* Copyright (c) 2001, 2007 Can Erkin Acar
* Copyright (c) 2001 Daniel Hartmeier
@@ -1014,7 +1014,7 @@ alloc_anchor_name(const char *path)
a = anchor_free;
if (a == NULL) {
- a = (struct anchor_name *)malloc(sizeof(struct anchor_name));
+ a = malloc(sizeof(struct anchor_name));
if (a == NULL)
return (NULL);
} else