From: Theodore Ts'o Date: Sat, 21 Jun 2008 18:04:36 +0000 (-0400) Subject: blkid: Fix cc portability problem in probe_lvm2() X-Git-Tag: v1.41-WIP-0707~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d45e2104cdebcd509810786756cfb2e40588620;p=thirdparty%2Fe2fsprogs.git blkid: Fix cc portability problem in probe_lvm2() Signed-off-by: "Theodore Ts'o" --- diff --git a/lib/blkid/probe.c b/lib/blkid/probe.c index eb8838ec1..d0d4b5dba 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;