diff --git a/sm5/atacmds.c b/sm5/atacmds.c index b19ec3d8cdac71d7287761b60e4419a43183bdfb..e45a90be948b28c8179763d681c12b5dfd700bc1 100644 --- a/sm5/atacmds.c +++ b/sm5/atacmds.c @@ -30,7 +30,7 @@ #include <stdlib.h> #include "atacmds.h" -const char *CVSid1="$Id: atacmds.c,v 1.31 2002/10/28 23:46:59 ballen4705 Exp $" CVSID1; +const char *CVSid1="$Id: atacmds.c,v 1.32 2002/10/29 18:19:02 ballen4705 Exp $" CVSID1; // These Drive Identity tables are taken from hdparm 5.2, and are also // given in the ATA/ATAPI specs for the IDENTIFY DEVICE command. Note @@ -801,6 +801,7 @@ void ataPrintSmartAttribName(char *out, unsigned char id){ break; case 231: name="Temperature_Centigrade"; + break; default: name="Unknown_Attribute"; break; diff --git a/sm5/atacmds.cpp b/sm5/atacmds.cpp index 22e9afc289b4e37b09201223bb8a8f9cf326e7b1..3b156ca7235c4c393c7492592d4cf7b7f64b7e4d 100644 --- a/sm5/atacmds.cpp +++ b/sm5/atacmds.cpp @@ -30,7 +30,7 @@ #include <stdlib.h> #include "atacmds.h" -const char *CVSid1="$Id: atacmds.cpp,v 1.31 2002/10/28 23:46:59 ballen4705 Exp $" CVSID1; +const char *CVSid1="$Id: atacmds.cpp,v 1.32 2002/10/29 18:19:02 ballen4705 Exp $" CVSID1; // These Drive Identity tables are taken from hdparm 5.2, and are also // given in the ATA/ATAPI specs for the IDENTIFY DEVICE command. Note @@ -801,6 +801,7 @@ void ataPrintSmartAttribName(char *out, unsigned char id){ break; case 231: name="Temperature_Centigrade"; + break; default: name="Unknown_Attribute"; break;