diff options
Diffstat (limited to 'sbin/pdisk/validate.c')
-rw-r--r-- | sbin/pdisk/validate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/pdisk/validate.c b/sbin/pdisk/validate.c index 00140e585f6..2c6ca8d4467 100644 --- a/sbin/pdisk/validate.c +++ b/sbin/pdisk/validate.c @@ -152,7 +152,7 @@ new_range_list_item(enum range_state state, int valid, u32 low, u32 high) { range_list *item; - item = (range_list *) malloc(sizeof(struct range_list)); + item = malloc(sizeof(struct range_list)); item->next = 0; item->prev = 0; item->state = state; |