summaryrefslogtreecommitdiff
path: root/extras/volume_id/volume_id/dasd/dasd.c
diff options
context:
space:
mode:
Diffstat (limited to 'extras/volume_id/volume_id/dasd/dasd.c')
-rw-r--r--extras/volume_id/volume_id/dasd/dasd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/volume_id/volume_id/dasd/dasd.c b/extras/volume_id/volume_id/dasd/dasd.c
index 4548190ce2..2df6a09e81 100644
--- a/extras/volume_id/volume_id/dasd/dasd.c
+++ b/extras/volume_id/volume_id/dasd/dasd.c
@@ -142,7 +142,7 @@ typedef struct dasd_information_t {
unsigned int confdata_size;
char characteristics[64]; /* from read_device_characteristics */
char configuration_data[256]; /* from read_configuration_data */
-} __attribute__((__packed__)) dasd_information_t;
+} dasd_information_t;
#define _IOC_NRBITS 8
#define _IOC_TYPEBITS 8
@@ -161,7 +161,7 @@ typedef struct dasd_information_t {
#define BIODASDINFO _IOR(DASD_IOCTL_LETTER,1,dasd_information_t)
#define BLKSSZGET _IO(0x12,104)
-int volume_id_probe_dasd_partition(struct volume_id *id)
+int volume_id_probe_dasd(struct volume_id *id)
{
int blocksize;
dasd_information_t info;