-/* $OpenBSD: disksubr.c,v 1.61 2022/10/11 23:39:07 krw Exp $ */
+/* $OpenBSD: disksubr.c,v 1.62 2022/10/14 13:22:57 krw Exp $ */
/* $NetBSD: disksubr.c,v 1.12 2002/02/19 17:09:44 wiz Exp $ */
/*
if ((error = initdisklabel(lp)))
goto done;
- lp->d_flags |= D_VENDOR;
/* get a buffer and initialize it */
bp = geteblk(lp->d_secsize);
/* Format conversion. */
lp->d_magic = DISKMAGIC;
lp->d_magic2 = DISKMAGIC;
- lp->d_flags = D_VENDOR;
memcpy(lp->d_packname, sl->sl_text, sizeof(lp->d_packname));
lp->d_secsize = DEV_BSIZE;
-/* $OpenBSD: ufs_disksubr.c,v 1.5 2022/09/01 13:45:26 krw Exp $ */
+/* $OpenBSD: ufs_disksubr.c,v 1.6 2022/10/14 13:22:57 krw Exp $ */
/* $NetBSD: ufs_disksubr.c,v 1.2 2013/01/14 01:37:57 tsutsui Exp $ */
/*
lp->d_magic = DISKMAGIC;
lp->d_magic2 = DISKMAGIC;
- lp->d_flags = D_VENDOR;
memcpy(lp->d_packname, slp->sl_text, sizeof(lp->d_packname));
lp->d_nsectors = slp->sl_nsectors;
lp->d_ntracks = slp->sl_ntracks;