From: Erez Zadok Date: Sun, 7 Aug 2005 00:45:41 +0000 (+0000) Subject: * amd/sun_map_parse.y: to match the literal string "fstype=" use X-Git-Tag: before-clocktime-fixes~49 X-Git-Url: https://git.fsl.cs.stonybrook.edu/?a=commitdiff_plain;h=a595f1a86d12ec3861fdeffbc7939f863dba08a8;p=am-utils-6.0.git * amd/sun_map_parse.y: to match the literal string "fstype=" use double quotes, not single quotes. --- diff --git a/ChangeLog b/ChangeLog index 826f7ec..7334ea1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-08-06 Erez Zadok + * amd/sun_map_parse.y: to match the literal string "fstype=" use + double quotes, not single quotes. + * amd/get_args.c (get_args): call conf_parse() using conf_in. * amd/amd.h: use renamed parser symbols (yyparse -> conf_parse; diff --git a/amd/sun_map_parse.y b/amd/sun_map_parse.y index 53fa8ab..21dcf5b 100644 --- a/amd/sun_map_parse.y +++ b/amd/sun_map_parse.y @@ -376,7 +376,7 @@ options : option ; /* file system type option */ -option : 'fstype='WORD { +option : "fstype=" WORD { tmpFsType = strdup($2); } @@ -411,7 +411,7 @@ sun_map_parse_read(const char *map_data) retval = (struct sun_entry*)sun_entry_list->first; } else { - plog(XLOG_ERROR,"Sun map parser did not produce data structs."); + plog(XLOG_ERROR, "Sun map parser did not produce data structs."); } return retval;