From a71c133efb7026da05ac2f7f41a6926bc5824a63 Mon Sep 17 00:00:00 2001 From: Jasper Lievisse Adriaanse Date: Mon, 6 Dec 2010 22:11:02 +0000 Subject: - partially revert previous NENTS removal for arches which got busted. --- sys/arch/landisk/stand/boot/conf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/arch/landisk/stand/boot/conf.c') diff --git a/sys/arch/landisk/stand/boot/conf.c b/sys/arch/landisk/stand/boot/conf.c index 13845460097..deea81a3034 100644 --- a/sys/arch/landisk/stand/boot/conf.c +++ b/sys/arch/landisk/stand/boot/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.4 2010/12/06 18:44:49 jasper Exp $ */ +/* $OpenBSD: conf.c,v 1.5 2010/12/06 22:11:01 jasper Exp $ */ /* * Copyright (c) 2006 Michael Shalayeff @@ -44,9 +44,9 @@ struct fs_ops file_system[] = { cd9660_stat, cd9660_readdir }, #endif }; -int nfsys = nitems(file_system); +int nfsys = NENTS(file_system); struct devsw devsw[] = { { "dk", blkdevstrategy, blkdevopen, blkdevclose, noioctl }, }; -int ndevs = nitems(devsw); +int ndevs = NENTS(devsw); -- cgit v1.2.3