Return proper type from _raidsyncaction()
PATCH 1/1 Return proper type from _raidsyncaction()
From: Heinz Mauelshagen <[email protected]>
Signed-off-by Heinz Mauelshagen <[email protected]>
--- lib/report/properties.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
lib/report/properties.c +2 -2
@@ -1,5 +1,5 @@/* -* Copyright (C) 2010-2013 Red Hat, Inc. All rights reserved. +* Copyright (C) 2010-2014 Red Hat, Inc. All rights reserved. * * This file is part of LVM2. *
@@ -71,7 +71,7 @@ static char *_raidsyncaction(const struct logical_volume *lv)char *action;if (!lv_raid_sync_action (lv, &action)) -return 0 ; +return NULL ;return action; }
Signature · 1 line
1.9.3