From 8dc0e1929e3af3b1673e5a8e486808386400c020 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 16 Sep 2009 00:58:11 +0200 Subject: use PACKED macro insted of open-coding GCC-ism Signed-off-by: Denys Vlasenko --- util-linux/volume_id/ocfs2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util-linux/volume_id/ocfs2.c') diff --git a/util-linux/volume_id/ocfs2.c b/util-linux/volume_id/ocfs2.c index 8417d91bb..14573caa1 100644 --- a/util-linux/volume_id/ocfs2.c +++ b/util-linux/volume_id/ocfs2.c @@ -78,7 +78,7 @@ struct ocfs2_super_block { uint64_t s_first_cluster_group; /* Block offset of 1st cluster group header */ uint8_t s_label[OCFS2_MAX_VOL_LABEL_LEN]; /* Label for mounting, etc. */ uint8_t s_uuid[OCFS2_VOL_UUID_LEN]; /* 128-bit uuid */ -} __attribute__((__packed__)); +} PACKED; int volume_id_probe_ocfs2(struct volume_id *id /*,uint64_t off*/) { -- cgit v1.2.3