Skip to content
Snippets Groups Projects
Commit c495e407 authored by ballen4705's avatar ballen4705
Browse files

trivial synatx

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@51 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent 4aeb5275
No related branches found
No related tags found
No related merge requests found
// $Id: atacmds.c,v 1.6 2002/10/15 08:58:40 ballen4705 Exp $ // $Id: atacmds.c,v 1.7 2002/10/15 11:19:46 ballen4705 Exp $
/* /*
* atacmds.c * atacmds.c
* *
...@@ -373,10 +373,8 @@ int ataDisableAutoOffline (int device ) ...@@ -373,10 +373,8 @@ int ataDisableAutoOffline (int device )
int ataSmartStatus (int device ){ int ataSmartStatus (int device ){
unsigned char parms[4] = { WIN_SMART, 0, SMART_STATUS, 0}; unsigned char parms[4] = { WIN_SMART, 0, SMART_STATUS, 0};
if (ioctl ( device , HDIO_DRIVE_CMD, &parms) != 0) if (ioctl ( device , HDIO_DRIVE_CMD, &parms))
{
return -1; return -1;
}
return 0; return 0;
} }
......
// $Id: atacmds.cpp,v 1.6 2002/10/15 08:58:40 ballen4705 Exp $ // $Id: atacmds.cpp,v 1.7 2002/10/15 11:19:46 ballen4705 Exp $
/* /*
* atacmds.c * atacmds.c
* *
...@@ -373,10 +373,8 @@ int ataDisableAutoOffline (int device ) ...@@ -373,10 +373,8 @@ int ataDisableAutoOffline (int device )
int ataSmartStatus (int device ){ int ataSmartStatus (int device ){
unsigned char parms[4] = { WIN_SMART, 0, SMART_STATUS, 0}; unsigned char parms[4] = { WIN_SMART, 0, SMART_STATUS, 0};
if (ioctl ( device , HDIO_DRIVE_CMD, &parms) != 0) if (ioctl ( device , HDIO_DRIVE_CMD, &parms))
{
return -1; return -1;
}
return 0; return 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment