anyone. No need to also set d_flags to 0.
-/* $OpenBSD: amdcf.c,v 1.8 2022/04/06 18:59:26 naddy Exp $ */
+/* $OpenBSD: amdcf.c,v 1.9 2022/10/23 19:33:39 krw Exp $ */
/*
* Copyright (c) 2007, Juniper Networks, Inc.
lp->d_type = DTYPE_SCSI; /* bogus type, can be anything */
strlcpy(lp->d_packname, "CFI Disk", sizeof(lp->d_packname));
DL_SETDSIZE(lp, sc->sc_size / DEV_BSIZE);
- lp->d_flags = 0;
lp->d_version = 1;
lp->d_magic = DISKMAGIC;
-/* $OpenBSD: octcf.c,v 1.34 2022/04/06 18:59:27 naddy Exp $ */
+/* $OpenBSD: octcf.c,v 1.35 2022/10/23 19:33:39 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;