summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/devfs
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1999-01-28 00:57:57 +0000
committerdillon <dillon@FreeBSD.org>1999-01-28 00:57:57 +0000
commit975fba8a24263006afbbb4e38dd6bf515bdf4b43 (patch)
treeda30cbbe5e5f3c775029e38108f63aa8b8cd17b7 /sys/miscfs/devfs
parent4cc7d69521756e89ce3e5ea28211fda13fc4c9ff (diff)
downloadFreeBSD-src-975fba8a24263006afbbb4e38dd6bf515bdf4b43.zip
FreeBSD-src-975fba8a24263006afbbb4e38dd6bf515bdf4b43.tar.gz
Fix warnings in preparation for adding -Wall -Wcast-qual to the
kernel compile
Diffstat (limited to 'sys/miscfs/devfs')
-rw-r--r--sys/miscfs/devfs/devfs_vnops.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/miscfs/devfs/devfs_vnops.c b/sys/miscfs/devfs/devfs_vnops.c
index ca25440..6c9cfc0 100644
--- a/sys/miscfs/devfs/devfs_vnops.c
+++ b/sys/miscfs/devfs/devfs_vnops.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: devfs_vnops.c,v 1.67 1999/01/27 22:42:05 dillon Exp $
+ * $Id: devfs_vnops.c,v 1.68 1999/01/27 23:49:45 dillon Exp $
*/
@@ -1724,6 +1724,9 @@ devfs_strategy(struct vop_strategy_args *ap)
case VBLK:
(*dnp->by.Bdev.bdevsw->d_strategy)(bp);
break;
+ default:
+ /* XXX set error code? */
+ break;
}
return (0);
}
OpenPOWER on IntegriCloud