From 66a5040c5b46584d27ba626921f76da9e96a4263 Mon Sep 17 00:00:00 2001
From: ballen4705 <ballen4705@4ea69e1a-61f1-4043-bf83-b5c94c648137>
Date: Wed, 30 Oct 2002 00:56:19 +0000
Subject: [PATCH] Possible byte alignment problem with gcc 3.2 and -O2? This is
 a long shot...

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@170 4ea69e1a-61f1-4043-bf83-b5c94c648137
---
 sm5/atacmds.c   | 4 ++--
 sm5/atacmds.cpp | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sm5/atacmds.c b/sm5/atacmds.c
index 2eeb563f6..df6b04a9b 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.33 2002/10/29 23:09:28 ballen4705 Exp $" CVSID1;
+const char *CVSid1="$Id: atacmds.c,v 1.34 2002/10/30 00:56:19 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
@@ -286,7 +286,7 @@ int ataReadSmartValues(int device, struct ata_smart_values *data){
   int i;
   unsigned char chksum=0;
   unsigned char buf[HDIO_DRIVE_CMD_HDR_SIZE+ATA_SMART_SEC_SIZE]= 
-    {WIN_SMART, 0, SMART_READ_VALUES, 1};
+    {WIN_SMART, 0, SMART_READ_VALUES, 1, };
   
   if (ioctl(device,HDIO_DRIVE_CMD,buf)){
     perror("Error SMART Values Read failed");
diff --git a/sm5/atacmds.cpp b/sm5/atacmds.cpp
index 8d6398b8b..127644ef7 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.33 2002/10/29 23:09:28 ballen4705 Exp $" CVSID1;
+const char *CVSid1="$Id: atacmds.cpp,v 1.34 2002/10/30 00:56:19 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
@@ -286,7 +286,7 @@ int ataReadSmartValues(int device, struct ata_smart_values *data){
   int i;
   unsigned char chksum=0;
   unsigned char buf[HDIO_DRIVE_CMD_HDR_SIZE+ATA_SMART_SEC_SIZE]= 
-    {WIN_SMART, 0, SMART_READ_VALUES, 1};
+    {WIN_SMART, 0, SMART_READ_VALUES, 1, };
   
   if (ioctl(device,HDIO_DRIVE_CMD,buf)){
     perror("Error SMART Values Read failed");
-- 
GitLab