diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2013-04-19 15:03:03 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2013-04-19 15:03:03 +0000 |
commit | ae5a359d77d88f7c79441b716ed872f0c48d59f4 (patch) | |
tree | d01a10c2222201c143941c0fe03be79da46932ae | |
parent | 7bc894fa72bf634e6b80d99e207a8e90785c4ed1 (diff) |
sw_vp is now in struct nfs_diskless.
input/ok deraadt@, ok miod@
-rw-r--r-- | usr.sbin/config/mkswap.c | 6 |
1 files 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"; |