X-Git-Url: https://git.sven.stormbind.net/?p=sven%2Fexfatprogs.git;a=blobdiff_plain;f=label%2Flabel.c;fp=label%2Flabel.c;h=b41e82714c9be485f126f6da134f7705b84f2fff;hp=fd77a549b06e3344854e2cca02ac43ff9b8e140a;hb=20b882b37d525f27c85037871c4f35f7ad2c55ba;hpb=37cbd64649f64ddb88b4ab3d8a494ddf96890cf8 diff --git a/label/label.c b/label/label.c index fd77a54..b41e827 100644 --- a/label/label.c +++ b/label/label.c @@ -90,7 +90,7 @@ int main(int argc, char *argv[]) if (serial_mode) { /* Mode to change or display volume serial */ if (flags == EXFAT_GET_VOLUME_SERIAL) { - ret = exfat_show_volume_serial(&bd, &ui); + ret = exfat_show_volume_serial(bd.dev_fd); } else if (flags == EXFAT_SET_VOLUME_SERIAL) { ui.volume_serial = strtoul(argv[3], NULL, 0); ret = exfat_set_volume_serial(&bd, &ui);