* amd/sun_map_parse.y: to match the literal string "fstype=" use
authorErez Zadok <ezk@cs.sunysb.edu>
Sun, 7 Aug 2005 00:45:41 +0000 (00:45 +0000)
committerErez Zadok <ezk@cs.sunysb.edu>
Sun, 7 Aug 2005 00:45:41 +0000 (00:45 +0000)
double quotes, not single quotes.

ChangeLog
amd/sun_map_parse.y

index 826f7ec95e77bab49517582511b0caed144fb098..7334ea1045d0500e0092c47a59cc0c33722b0b6c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2005-08-06  Erez Zadok  <ezk@cs.sunysb.edu>
 
+       * 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;
index 53fa8ab46907ff90fd7b1f212b5eec7659b9a73e..21dcf5b76dbc2cd6f0aaf038d33d8a2173dce978 100644 (file)
@@ -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;