anyone. No need to also set d_flags to 0.
-/* $OpenBSD: wd.c,v 1.129 2022/04/06 18:59:27 naddy Exp $ */
+/* $OpenBSD: wd.c,v 1.130 2022/10/23 14:39:19 krw Exp $ */
/* $NetBSD: wd.c,v 1.193 1999/02/28 17:15:27 explorer Exp $ */
/*
}
/* XXX - user viscopy() like sd.c */
strncpy(lp->d_packname, wd->sc_params.atap_model, sizeof lp->d_packname);
- lp->d_flags = 0;
lp->d_version = 1;
lp->d_magic = DISKMAGIC;
-/* $OpenBSD: vnd.c,v 1.178 2022/09/01 12:28:53 deraadt Exp $ */
+/* $OpenBSD: vnd.c,v 1.179 2022/10/23 14:39:19 krw Exp $ */
/* $NetBSD: vnd.c,v 1.26 1996/03/30 23:06:11 christos Exp $ */
/*
lp->d_type = DTYPE_VND;
strncpy(lp->d_packname, "fictitious", sizeof(lp->d_packname));
DL_SETDSIZE(lp, sc->sc_size);
- lp->d_flags = 0;
lp->d_version = 1;
lp->d_magic = DISKMAGIC;
-/* $OpenBSD: sd.c,v 1.332 2022/09/01 13:45:27 krw Exp $ */
+/* $OpenBSD: sd.c,v 1.333 2022/10/23 14:39:19 krw Exp $ */
/* $NetBSD: sd.c,v 1.111 1997/04/02 02:29:41 mycroft Exp $ */
/*-
DL_SETDSIZE(lp, sc->params.disksize);
lp->d_version = 1;
- lp->d_flags = 0;
lp->d_magic = DISKMAGIC;
lp->d_magic2 = DISKMAGIC;