Skip to content

Commit

Permalink
[c] fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
andkae committed Jan 12, 2025
1 parent 4129a4b commit 0a93482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pciinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ int pciinfoBarPhyAdr(const char sysPathPciDev[], uint8_t barNo,

/* check for enough memory */
if ( (strlen(sysPathPciDev) + 10) > sizeof(sysPathTemp) ) {
pciinfo_printf(" ERROR:%s: Not enough memory\n", __FUNCTION__, sysPathPciDev);
pciinfo_printf(" ERROR:%s: Not enough memory\n", __FUNCTION__);
return -1;
}

Expand Down

0 comments on commit 0a93482

Please sign in to comment.