diff --git a/sm5/smartd.c b/sm5/smartd.c
index 946a73915b4359499d99bd6e93e80102a3539872..554460213b0ad833ba4579d4e504f9f417717228 100644
--- a/sm5/smartd.c
+++ b/sm5/smartd.c
@@ -49,7 +49,7 @@
 
 // CVS ID strings
 extern const char *CVSid1, *CVSid2;
-const char *CVSid6="$Id: smartd.c,v 1.81 2002/12/01 12:14:16 pjwilliams Exp $" 
+const char *CVSid6="$Id: smartd.c,v 1.82 2002/12/05 05:24:32 ballen4705 Exp $" 
 CVSID1 CVSID2 CVSID3 CVSID4 CVSID7;
 
 // global variable used for control of printing, passing arguments, etc.
@@ -958,7 +958,7 @@ int inttoken(char *arg, char *name, char *token, int lineno, char *configfile, i
 // else zero if it has failed to parse a token.  Or it exits with a
 // directive message if there is a token-parsing problem.
 int parsetoken(char *token,cfgfile *cfg){
-  char sym=token[1];
+  char sym;
   char *name=cfg->name;
   int lineno=cfg->lineno;
   char *delim=" \n\t";
@@ -976,7 +976,7 @@ int parsetoken(char *token,cfgfile *cfg){
   }
   
   // let's parse the token and swallow its argument
-  switch (sym) {
+  switch (sym=token[1]) {
     char *arg;
     int val;
     
diff --git a/sm5/smartd.cpp b/sm5/smartd.cpp
index 69478a7c478982cec5938a60d1c1c7838722ebf9..a93772d262a04c5204295b46f80a39ae5b4eeb2f 100644
--- a/sm5/smartd.cpp
+++ b/sm5/smartd.cpp
@@ -49,7 +49,7 @@
 
 // CVS ID strings
 extern const char *CVSid1, *CVSid2;
-const char *CVSid6="$Id: smartd.cpp,v 1.81 2002/12/01 12:14:16 pjwilliams Exp $" 
+const char *CVSid6="$Id: smartd.cpp,v 1.82 2002/12/05 05:24:32 ballen4705 Exp $" 
 CVSID1 CVSID2 CVSID3 CVSID4 CVSID7;
 
 // global variable used for control of printing, passing arguments, etc.
@@ -958,7 +958,7 @@ int inttoken(char *arg, char *name, char *token, int lineno, char *configfile, i
 // else zero if it has failed to parse a token.  Or it exits with a
 // directive message if there is a token-parsing problem.
 int parsetoken(char *token,cfgfile *cfg){
-  char sym=token[1];
+  char sym;
   char *name=cfg->name;
   int lineno=cfg->lineno;
   char *delim=" \n\t";
@@ -976,7 +976,7 @@ int parsetoken(char *token,cfgfile *cfg){
   }
   
   // let's parse the token and swallow its argument
-  switch (sym) {
+  switch (sym=token[1]) {
     char *arg;
     int val;