1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
diff -Naur LVM.orig/1.0.7/tools/lib/pv_read_all_pv_of_vg.c LVM/1.0.7/tools/lib/pv_read_all_pv_of_vg.c
--- LVM.orig/1.0.7/tools/lib/pv_read_all_pv_of_vg.c 2003-02-06 09:05:34.000000000 -0600
+++ LVM/1.0.7/tools/lib/pv_read_all_pv_of_vg.c 2005-07-19 19:21:52.000000000 -0500
@@ -130,6 +130,7 @@
}
pv_this[p] = NULL;
uuid_check_end:
+ ;
}
for ( pp = 0; pp < p - 2; pp++) {
if ( pv_this[pp] == NULL) {
diff -Naur LVM.orig/1.0.7/tools/lib/pv_read_uuidlist.c LVM/1.0.7/tools/lib/pv_read_uuidlist.c
--- LVM.orig/1.0.7/tools/lib/pv_read_uuidlist.c 2003-02-06 09:05:34.000000000 -0600
+++ LVM/1.0.7/tools/lib/pv_read_uuidlist.c 2005-07-19 19:21:02.000000000 -0500
@@ -50,7 +50,7 @@
static char *this_pv_uuidlist = NULL;
int num;
- debug_enter(__FUNCTION__ " -- CALLED with %s\n", pv ? pv->pv_name : "NULL");
+ debug_enter(__FUNCTION__, " -- CALLED with %s\n", pv ? pv->pv_name : "NULL");
if (pv == NULL || pv_uuidlist == NULL)
return -LVM_EPARAM;
diff -Naur LVM.orig/1.0.7/tools/lib/pv_write_uuidlist.c LVM/1.0.7/tools/lib/pv_write_uuidlist.c
--- LVM.orig/1.0.7/tools/lib/pv_write_uuidlist.c 2003-02-06 09:05:34.000000000 -0600
+++ LVM/1.0.7/tools/lib/pv_write_uuidlist.c 2005-07-19 19:20:16.000000000 -0500
@@ -71,7 +71,7 @@
/* Create/fix UUIDs for any PVs that need it */
if (lvm_check_uuid(pv->pv_uuid) < 0) {
- debug(__FUNCTION__ " -- creating new UUID for PV %s\n",
+ debug(__FUNCTION__, " -- creating new UUID for PV %s\n",
pv->pv_name);
memset(pv->pv_uuid, 0, sizeof(pv->pv_uuid));
memcpy(pv->pv_uuid, lvm_create_uuid(UUID_LEN), UUID_LEN);
|