Module Name:    src
Committed By:   joerg
Date:           Sat Nov 15 01:24:53 UTC 2014

Modified Files:
        src/external/gpl2/lvm2/dist/lib/format1: import-export.c

Log Message:
Remove tautologic check.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 \
    src/external/gpl2/lvm2/dist/lib/format1/import-export.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl2/lvm2/dist/lib/format1/import-export.c
diff -u src/external/gpl2/lvm2/dist/lib/format1/import-export.c:1.1.1.2 src/external/gpl2/lvm2/dist/lib/format1/import-export.c:1.2
--- src/external/gpl2/lvm2/dist/lib/format1/import-export.c:1.1.1.2	Wed Dec  2 00:26:49 2009
+++ src/external/gpl2/lvm2/dist/lib/format1/import-export.c	Sat Nov 15 01:24:53 2014
@@ -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, s
 	}
 
 	/* 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;
 

Reply via email to