aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Eric Fagan <sef@FreeBSD.org>1997-06-22 19:04:03 +0000
committerSean Eric Fagan <sef@FreeBSD.org>1997-06-22 19:04:03 +0000
commitc6d139318e788c4bfdc70ad5e582d607efd4df51 (patch)
treeabdf10bc45e024d9693e6e7ef7bd2d42d1ad3774
parent3fe1f9232961f60a44d482f2878a6d39a01d512e (diff)
Notes
-rw-r--r--sys/i386/ibcs2/ibcs2_xenix.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/sys/i386/ibcs2/ibcs2_xenix.c b/sys/i386/ibcs2/ibcs2_xenix.c
index d2949244f6a7..a4a6fbc9fc36 100644
--- a/sys/i386/ibcs2/ibcs2_xenix.c
+++ b/sys/i386/ibcs2/ibcs2_xenix.c
@@ -27,7 +27,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: ibcs2_xenix.c,v 1.10 1997/03/24 11:37:49 bde Exp $
+ * $Id: ibcs2_xenix.c,v 1.11 1997/05/07 20:05:45 peter Exp $
*/
#include <sys/param.h>
@@ -119,7 +119,12 @@ xenix_ftime(p, uap, retval)
int *retval;
{
struct timeval tv;
- struct timeb itb;
+ struct ibcs2_timeb {
+ unsigned long time __attribute__((packed));
+ unsigned short millitm;
+ short timezone;
+ short dstflag;
+ } itb;
DPRINTF(("IBCS2: 'xenix ftime'\n"));
microtime(&tv);
@@ -129,7 +134,7 @@ xenix_ftime(p, uap, retval)
itb.dstflag = tz.tz_dsttime != DST_NONE;
return copyout((caddr_t)&itb, (caddr_t)SCARG(uap, tp),
- sizeof(struct timeb));
+ sizeof(struct ibcs2_timeb));
}
int