From ae5a359d77d88f7c79441b716ed872f0c48d59f4 Mon Sep 17 00:00:00 2001 From: Florian Obser Date: Fri, 19 Apr 2013 15:03:03 +0000 Subject: sw_vp is now in struct nfs_diskless. input/ok deraadt@, ok miod@ --- usr.sbin/config/mkswap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/config/mkswap.c b/usr.sbin/config/mkswap.c index 3b94ba41e17..2783404496d 100644 --- a/usr.sbin/config/mkswap.c +++ b/usr.sbin/config/mkswap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mkswap.c,v 1.13 2011/10/02 22:20:50 edd Exp $ */ +/* $OpenBSD: mkswap.c,v 1.14 2013/04/19 15:03:02 florian Exp $ */ /* $NetBSD: mkswap.c,v 1.5 1996/08/31 20:58:27 mycroft Exp $ */ /* @@ -109,10 +109,10 @@ mkoneswap(struct config *cf) if (fputs("\nstruct\tswdevt swdevt[] = {\n", fp) < 0) goto wrerror; for (nv = cf->cf_swap; nv != NULL; nv = nv->nv_next) - if (fprintf(fp, "\t{ %s,\t0,\t0 },\t/* %s */\n", + if (fprintf(fp, "\t{ %s,\t0 },\t/* %s */\n", mkdevstr(nv->nv_int), nv->nv_str) < 0) goto wrerror; - if (fputs("\t{ NODEV, 0, 0 }\n};\n\n", fp) < 0) + if (fputs("\t{ NODEV, 0 }\n};\n\n", fp) < 0) goto wrerror; mountroot = cf->cf_root->nv_str == s_nfs ? "nfs_mountroot" : "dk_mountroot"; -- cgit v1.2.3