* 'wdctl/sysfs-firmware_version' of https://github.com/t-8ch/util-linux:
wdctl: read options from sysfs
wdctl: read firmware version from sysfs
return 1;
ul_path_read_buffer(sys, (char *) wd->ident.identity, sizeof(wd->ident.identity), "identity");
+ ul_path_read_u32(sys, &wd->ident.firmware_version, "fw_version");
+ ul_path_scanf(sys, "options", "%x", &wd->ident.options);
ul_path_scanf(sys, "status", "%x", &wd->status);
ul_path_read_u32(sys, &wd->bstatus, "bootstatus");