X-Git-Url: https://git.sven.stormbind.net/?a=blobdiff_plain;f=label%2Flabel.c;h=b41e82714c9be485f126f6da134f7705b84f2fff;hb=504e0feaaefecccc8059f5ecb5d028a7f014f1d6;hp=fd77a549b06e3344854e2cca02ac43ff9b8e140a;hpb=4d5b0617d5bbdb7c887c479899b22a56d75d4c15;p=sven%2Fexfatprogs.git 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);