Skip to content
Snippets Groups Projects
Commit 47b76b77 authored by arvoreen's avatar arvoreen
Browse files

Fix compile issues for older FreeBSD versions

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@1177 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent 322fe3a6
Branches
No related tags found
No related merge requests found
CHANGELOG for smartmontools CHANGELOG for smartmontools
$Id: CHANGELOG,v 1.232 2003/10/27 20:59:03 ballen4705 Exp $ $Id: CHANGELOG,v 1.233 2003/10/28 00:44:29 arvoreen Exp $
Maintainers / Developers Key: Maintainers / Developers Key:
[BA] Bruce Allen [BA] Bruce Allen
...@@ -25,6 +25,8 @@ CURRENT DEVELOPMENT VERSION (see VERSION file in this directory): ...@@ -25,6 +25,8 @@ CURRENT DEVELOPMENT VERSION (see VERSION file in this directory):
smartmontools 5.22 smartmontools 5.22
[EM] Fix compile issues for FreeBSD < 5-CURRENT.
[PW] Added Fujitsu MHM2200AT to knowndrives table. [PW] Added Fujitsu MHM2200AT to knowndrives table.
[BA] To help catch bugs, clear ATA error structures before all [BA] To help catch bugs, clear ATA error structures before all
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
#include "utility.h" #include "utility.h"
#include "os_freebsd.h" #include "os_freebsd.h"
const char *os_XXXX_c_cvsid="$Id: os_freebsd.c,v 1.19 2003/10/21 01:45:50 arvoreen Exp $" \ const char *os_XXXX_c_cvsid="$Id: os_freebsd.c,v 1.20 2003/10/28 00:44:29 arvoreen Exp $" \
ATACMDS_H_CVSID CONFIG_H_CVSID OS_XXXX_H_CVSID SCSICMDS_H_CVSID UTILITY_H_CVSID; ATACMDS_H_CVSID CONFIG_H_CVSID OS_XXXX_H_CVSID SCSICMDS_H_CVSID UTILITY_H_CVSID;
// to hold onto exit code for atexit routine // to hold onto exit code for atexit routine
...@@ -188,9 +188,9 @@ int ata_command_interface(int fd, smart_command_set command, int select, char *d ...@@ -188,9 +188,9 @@ int ata_command_interface(int fd, smart_command_set command, int select, char *d
#ifndef ATAREQUEST #ifndef ATAREQUEST
// sorry, but without ATAng, we can't do anything here // sorry, but without ATAng, we can't do anything here
printwarning(OLD_KERNEL,NULL); printwarning(BAD_KERNEL,NULL);
errno = ENOSYS; errno = ENOSYS;
return -; return -1;
#else #else
bzero(buff,512); bzero(buff,512);
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
#include "utility.h" #include "utility.h"
#include "os_freebsd.h" #include "os_freebsd.h"
const char *os_XXXX_c_cvsid="$Id: os_freebsd.cpp,v 1.19 2003/10/21 01:45:50 arvoreen Exp $" \ const char *os_XXXX_c_cvsid="$Id: os_freebsd.cpp,v 1.20 2003/10/28 00:44:29 arvoreen Exp $" \
ATACMDS_H_CVSID CONFIG_H_CVSID OS_XXXX_H_CVSID SCSICMDS_H_CVSID UTILITY_H_CVSID; ATACMDS_H_CVSID CONFIG_H_CVSID OS_XXXX_H_CVSID SCSICMDS_H_CVSID UTILITY_H_CVSID;
// to hold onto exit code for atexit routine // to hold onto exit code for atexit routine
...@@ -188,9 +188,9 @@ int ata_command_interface(int fd, smart_command_set command, int select, char *d ...@@ -188,9 +188,9 @@ int ata_command_interface(int fd, smart_command_set command, int select, char *d
#ifndef ATAREQUEST #ifndef ATAREQUEST
// sorry, but without ATAng, we can't do anything here // sorry, but without ATAng, we can't do anything here
printwarning(OLD_KERNEL,NULL); printwarning(BAD_KERNEL,NULL);
errno = ENOSYS; errno = ENOSYS;
return -; return -1;
#else #else
bzero(buff,512); bzero(buff,512);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment