diff options
Diffstat (limited to 'usr/fwparam_ibft/fwparam_sysfs.c')
-rw-r--r-- | usr/fwparam_ibft/fwparam_sysfs.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr/fwparam_ibft/fwparam_sysfs.c b/usr/fwparam_ibft/fwparam_sysfs.c index 87fd6d4..f46e8f2 100644 --- a/usr/fwparam_ibft/fwparam_sysfs.c +++ b/usr/fwparam_ibft/fwparam_sysfs.c @@ -60,8 +60,10 @@ static int file_exist(const char *file) /* * Finds the etherrnetX and targetX under the sysfs directory. */ -static int find_sysfs_dirs(const char *fpath, const struct stat *sb, - int tflag, struct FTW *ftw) +static int find_sysfs_dirs(const char *fpath, + __attribute__((unused))const struct stat *sb, + int tflag, + struct FTW *ftw) { if (tflag == FTW_D && (strstr(fpath + ftw->base, "target"))) { if (tgt_cnt == ISCSI_BOOT_MAX) { |