summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
d824aac)
Use correct signed type to allow testing for a failure (-1) from
readlinkat().
Type: fix
Fixes:
5714a49f14
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Change-Id: I06f1c8d91e907c151012ff9758c6b52caca4d625
u8 *rel_path = 0, *abs_path = 0, *link_path = 0;
unformat_input_t input;
int fd = open (sysfs_pci_dev_path, O_RDONLY);
u8 *rel_path = 0, *abs_path = 0, *link_path = 0;
unformat_input_t input;
int fd = open (sysfs_pci_dev_path, O_RDONLY);
u32 domain = 0, bus;
clib_error_t *err = NULL;
u32 domain = 0, bus;
clib_error_t *err = NULL;