Skip to content

Commit

Permalink
quick: Fixing string in rescanfs option
Browse files Browse the repository at this point in the history
Fixing using the string in the structure for getopt_long parsing of the rescanfs option.
Accidentally used the variable instead of the string.

Signed-off-by: Tyler Erickson <[email protected]>
  • Loading branch information
vonericsen committed Apr 4, 2024
1 parent 6e69158 commit f19c23a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/openseachest_util_options.h
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ extern "C"
#define REFRESH_FILE_SYSTEMS refreshFileSystems
#define REFRESH_FILE_SYSTEMS_VAR getOptBool REFRESH_FILE_SYSTEMS = goFalse;
#define REFRESH_FILE_SYSTEMS_LONG_OPT_STRING "refreshfs"
#define REFRESH_FILE_SYSTEMS_LONG_OPT { REFRESH_FILE_SYSTEMS, no_argument, &REFRESH_FILE_SYSTEMS, goTrue }
#define REFRESH_FILE_SYSTEMS_LONG_OPT { REFRESH_FILE_SYSTEMS_LONG_OPT_STRING, no_argument, &REFRESH_FILE_SYSTEMS, goTrue }

//download FW
#define FIRMWARE_FILE_NAME_MAX_LEN 4096
Expand Down

0 comments on commit f19c23a

Please sign in to comment.