Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl2/lvm2/dist/lib/format1 Remove tautologic check.



details:   https://anonhg.NetBSD.org/src/rev/dcb8e3e2f715
branches:  trunk
changeset: 333714:dcb8e3e2f715
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sat Nov 15 01:24:53 2014 +0000

description:
Remove tautologic check.

diffstat:

 external/gpl2/lvm2/dist/lib/format1/import-export.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 116e9de2a428 -r dcb8e3e2f715 external/gpl2/lvm2/dist/lib/format1/import-export.c
--- a/external/gpl2/lvm2/dist/lib/format1/import-export.c       Sat Nov 15 01:24:38 2014 +0000
+++ b/external/gpl2/lvm2/dist/lib/format1/import-export.c       Sat Nov 15 01:24:53 2014 +0000
@@ -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 @@
        }
 
        /* 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;
 



Home | Main Index | Thread Index | Old Index