]> git.proxmox.com Git - mirror_smartmontools-debian.git/blobdiff - os_solaris.cpp
Imported Upstream version 5.38+svn2879
[mirror_smartmontools-debian.git] / os_solaris.cpp
index 13dcd7f229c78bedb9b98a07eedad601666d6ca9..a3601d0785f2669a9553ecfca843229e0d11da54 100644 (file)
@@ -39,9 +39,9 @@
 
 extern long long bytes;
 
-static const char *filenameandversion="$Id: os_solaris.cpp,v 1.30 2008/03/04 22:09:47 ballen4705 Exp $";
+static const char *filenameandversion="$Id: os_solaris.cpp,v 1.32 2008/06/12 21:46:31 ballen4705 Exp $";
 
-const char *os_XXXX_c_cvsid="$Id: os_solaris.cpp,v 1.30 2008/03/04 22:09:47 ballen4705 Exp $" \
+const char *os_XXXX_c_cvsid="$Id: os_solaris.cpp,v 1.32 2008/06/12 21:46:31 ballen4705 Exp $" \
 ATACMDS_H_CVSID CONFIG_H_CVSID INT64_H_CVSID OS_SOLARIS_H_CVSID SCSICMDS_H_CVSID UTILITY_H_CVSID;
 
 // The printwarning() function warns about unimplemented functions
@@ -336,7 +336,7 @@ int ata_command_interface(int fd, smart_command_set command, int select, char *d
        return smart_status_check(fd);
     default:
        pout("Unrecognized command %d in ata_command_interface() of os_solaris.c\n", command);
-       exit(1);
+       EXIT(1);
        break;
     }
 #else /* __sparc */
@@ -362,6 +362,15 @@ int escalade_command_interface(int fd, int disknum, int escalade_type, smart_com
   return -1;
 }
 
+int areca_command_interface(int fd, int disknum, smart_command_set command, int select, char *data){
+  ARGUSED(fd);  ARGUSED(disknum);
+  ARGUSED(command);  ARGUSED(select);  ARGUSED(data); 
+
+  if (printwarning(1))
+    return -1;
+  return -1;
+}
+
 #include <errno.h>
 #include <sys/scsi/generic/commands.h>
 #include <sys/scsi/generic/status.h>