OSDN Git Service
(root)
/
android-x86
/
external-e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f6a74b
)
blkid: Fix cc portability problem in probe_lvm2()
author
Theodore Ts'o
<tytso@mit.edu>
Sat, 21 Jun 2008 18:04:36 +0000
(14:04 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Sat, 21 Jun 2008 18:04:36 +0000
(14:04 -0400)
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/blkid/probe.c
patch
|
blob
|
history
diff --git
a/lib/blkid/probe.c
b/lib/blkid/probe.c
index
eb8838e
..
d0d4b5d
100644
(file)
--- a/
lib/blkid/probe.c
+++ b/
lib/blkid/probe.c
@@
-1065,7
+1065,7
@@
static int probe_lvm2(struct blkid_probe *probe,
struct blkid_magic *id,
unsigned char *buf)
{
- int sector = (id->bim_kboff) << 1;
;
+ int sector = (id->bim_kboff) << 1;
struct lvm2_pv_label_header *label= (struct lvm2_pv_label_header *)buf;
char *p, *q, uuid[40];
unsigned int i, b;