summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/fwparam_ibft/fwparam_sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/fwparam_ibft/fwparam_sysfs.c b/utils/fwparam_ibft/fwparam_sysfs.c
index c5b0b00..23eb913 100644
--- a/utils/fwparam_ibft/fwparam_sysfs.c
+++ b/utils/fwparam_ibft/fwparam_sysfs.c
@@ -255,7 +255,7 @@ static int fill_tgt_context(char *subsys, char *id,
* sets Bit 1 (Firmware Booting Selected).
* So any setting is deemed okay.
*/
- if (!rc && (context->nic_flags == 0))
+ if (!rc && (context->target_flags == 0))
rc = ENODEV;
if (rc)
return rc;