From 755f404f87652435eba3fed331f69f4a2e7ee8b1 Mon Sep 17 00:00:00 2001 From: joerg Date: Sat, 15 Nov 2014 01:24:53 +0000 Subject: [PATCH] Remove tautologic check. --- external/gpl2/lvm2/dist/lib/format1/import-export.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/external/gpl2/lvm2/dist/lib/format1/import-export.c b/external/gpl2/lvm2/dist/lib/format1/import-export.c index 231af89e5483..5c176224e1b4 100644 --- a/external/gpl2/lvm2/dist/lib/format1/import-export.c +++ b/external/gpl2/lvm2/dist/lib/format1/import-export.c @@ -1,4 +1,4 @@ -/* $NetBSD: import-export.c,v 1.1.1.2 2009/12/02 00:26:49 haad Exp $ */ +/* $NetBSD: import-export.c,v 1.2 2014/11/15 01:24:53 joerg Exp $ */ /* * Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved. @@ -187,7 +187,7 @@ int export_pv(struct cmd_context *cmd, struct dm_pool *mem __attribute((unused)) } /* Generate system_id if PV is in VG */ - if (!pvd->system_id || !*pvd->system_id) + if (!pvd->system_id[0]) if (!_system_id(cmd, (char *)pvd->system_id, "")) return_0;