From f19c23a7b79cd9e1a4c007d7bc372a91b6b02d8f Mon Sep 17 00:00:00 2001 From: Tyler Erickson Date: Thu, 4 Apr 2024 09:32:04 -0600 Subject: [PATCH] quick: Fixing string in rescanfs option 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 --- include/openseachest_util_options.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/openseachest_util_options.h b/include/openseachest_util_options.h index 6f770d5..d54ca55 100644 --- a/include/openseachest_util_options.h +++ b/include/openseachest_util_options.h @@ -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