8605363e10
- Bump PORTREVISION PR: ports/131603 Submitted by: "Scot W. Hetzel" <swhetzel@gmail.com>
17 lines
549 B
Plaintext
17 lines
549 B
Plaintext
--- kqemu-freebsd.c.orig 2009-02-12 03:45:30.607773000 -0600
|
|
+++ kqemu-freebsd.c 2009-02-12 03:50:10.019986534 -0600
|
|
@@ -381,7 +381,12 @@
|
|
|
|
r = clone_create(&kqemuclones, &kqemu_cdevsw, &unit, dev, 0);
|
|
if (r) {
|
|
- *dev = make_dev(&kqemu_cdevsw, unit2minor(unit),
|
|
+ *dev = make_dev(&kqemu_cdevsw,
|
|
+#if __FreeBSD_version < 800062
|
|
+ unit2minor(unit),
|
|
+#else /* __FreeBSD_version >= 800062 */
|
|
+ unit,
|
|
+#endif /* __FreeBSD_version < 800062 */
|
|
UID_ROOT, GID_WHEEL, 0660, "kqemu%d", unit);
|
|
if (*dev != NULL) {
|
|
dev_ref(*dev);
|