From 8d45e2104cdebcd509810786756cfb2e40588620 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sat, 21 Jun 2008 14:04:36 -0400 Subject: [PATCH] blkid: Fix cc portability problem in probe_lvm2() Signed-off-by: "Theodore Ts'o" --- lib/blkid/probe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/blkid/probe.c b/lib/blkid/probe.c index eb8838ec..d0d4b5db 100644 --- 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; -- 2.11.0