change variable use from optarg to intfname..

This commit is contained in:
Duncan Laurie 2004-04-09 04:11:40 +00:00
parent a7bb4e2ba7
commit 9f055476c3

View File

@ -359,7 +359,7 @@ int main(int argc, char ** argv)
if (intfarg) {
intf = ipmi_intf_load(intfname);
if (!intf) {
printf("Error loading interface %s\n", optarg);
printf("Error loading interface %s\n", intfname);
goto out_free;
}
}