Back out the bogus initializer -- the compiler bug is fixed.
This commit is contained in:
parent
b9c785bd44
commit
3fbc866a6e
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: wd.c,v 1.265 2003/10/28 02:01:46 cl Exp $ */
|
||||
/* $NetBSD: wd.c,v 1.266 2003/10/29 21:27:38 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998, 2001 Manuel Bouyer. All rights reserved.
|
||||
|
@ -66,7 +66,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.265 2003/10/28 02:01:46 cl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.266 2003/10/29 21:27:38 mycroft Exp $");
|
||||
|
||||
#ifndef WDCDEBUG
|
||||
#define WDCDEBUG
|
||||
|
@ -480,8 +480,6 @@ wdstrategy(struct buf *bp)
|
|||
daddr_t blkno;
|
||||
int s;
|
||||
|
||||
blkno = 0; /* XXX to appease gcc3 m68k */
|
||||
|
||||
WDCDEBUG_PRINT(("wdstrategy (%s)\n", wd->sc_dev.dv_xname),
|
||||
DEBUG_XFERS);
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: sd.c,v 1.212 2003/10/28 02:01:46 cl Exp $ */
|
||||
/* $NetBSD: sd.c,v 1.213 2003/10/29 21:26:43 mycroft Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 2003 The NetBSD Foundation, Inc.
|
||||
|
@ -54,7 +54,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: sd.c,v 1.212 2003/10/28 02:01:46 cl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: sd.c,v 1.213 2003/10/29 21:26:43 mycroft Exp $");
|
||||
|
||||
#include "opt_scsi.h"
|
||||
#include "opt_bufq.h"
|
||||
|
@ -683,8 +683,6 @@ sdstrategy(bp)
|
|||
int s;
|
||||
boolean_t sector_aligned;
|
||||
|
||||
blkno = 0; /* XXX to appease gcc3 m68k */
|
||||
|
||||
SC_DEBUG(sd->sc_periph, SCSIPI_DB2, ("sdstrategy "));
|
||||
SC_DEBUG(sd->sc_periph, SCSIPI_DB1,
|
||||
("%ld bytes @ blk %" PRId64 "\n", bp->b_bcount, bp->b_blkno));
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: nfs_serv.c,v 1.84 2003/10/28 02:01:46 cl Exp $ */
|
||||
/* $NetBSD: nfs_serv.c,v 1.85 2003/10/29 21:28:37 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993
|
||||
|
@ -55,7 +55,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_serv.c,v 1.84 2003/10/28 02:01:46 cl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_serv.c,v 1.85 2003/10/29 21:28:37 mycroft Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -3287,7 +3287,6 @@ nfsrv_statfs(nfsd, slp, procp, mrq)
|
|||
return (0);
|
||||
nfsm_build(sfp, struct nfs_statfs *, NFSX_STATFS(v3));
|
||||
if (v3) {
|
||||
tval = 0; /* XXX: gcc m68k */
|
||||
tval = (u_quad_t)((quad_t)sf->f_blocks * (quad_t)sf->f_bsize);
|
||||
txdr_hyper(tval, &sfp->sf_tbytes);
|
||||
tval = (u_quad_t)((quad_t)sf->f_bfree * (quad_t)sf->f_bsize);
|
||||
|
|
Loading…
Reference in New Issue