summaryrefslogtreecommitdiffstats
path: root/src/import/hwpf/fapi2
diff options
context:
space:
mode:
authorcrgeddes <crgeddes@us.ibm.com>2015-12-15 14:12:38 -0600
committerStephen Cprek <smcprek@us.ibm.com>2016-02-19 15:31:55 -0600
commit122cfa9e65dbf66189fd4d94792d259682c0724a (patch)
treea88da72d7c42d34882c86a2ff4b9ca72f85f646a /src/import/hwpf/fapi2
parenta4e0f9f2b7e1abbc7062bbc6a023a01227875eee (diff)
downloadtalos-hostboot-122cfa9e65dbf66189fd4d94792d259682c0724a.tar.gz
talos-hostboot-122cfa9e65dbf66189fd4d94792d259682c0724a.zip
Updated create attrbute service script to use proper fapi2 namespace
Change-Id: I59b40b0956a6033398f998d675d03b21ecf1cffa Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22796 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23217 Reviewed-by: Christian Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/import/hwpf/fapi2')
-rwxr-xr-xsrc/import/hwpf/fapi2/tools/createIfAttrService.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/import/hwpf/fapi2/tools/createIfAttrService.pl b/src/import/hwpf/fapi2/tools/createIfAttrService.pl
index b46e84ec4..5f24f8b0c 100755
--- a/src/import/hwpf/fapi2/tools/createIfAttrService.pl
+++ b/src/import/hwpf/fapi2/tools/createIfAttrService.pl
@@ -235,11 +235,11 @@ foreach my $argnum (0 .. $#ARGV)
if (exists $attr->{privileged})
{
- print ASFILE " l_rc = FAPI2_ATTR_GET_PRIVILEGED($attr->{id}, i_pTarget, l_attr);\n";
+ print ASFILE " l_rc = FAPI2_ATTR_GET_PRIVILEGED(fapi2::$attr->{id}, i_pTarget, l_attr);\n";
}
else
{
- print ASFILE " l_rc = FAPI_ATTR_GET($attr->{id}, i_pTarget, l_attr);\n";
+ print ASFILE " l_rc = FAPI_ATTR_GET(fapi2::$attr->{id}, i_pTarget, l_attr);\n";
}
print ASFILE " o_val = l_attr";
OpenPOWER on IntegriCloud