fix compilation nit
[ppp.git] / sunos4 / ppp_vdcmd.c
index eeaa03984dc4684017a03dce27f94750139fc846..1e3853a564d6b8c9b35752e8b8d1d86470b9b238 100644 (file)
@@ -37,7 +37,7 @@ ppp_vdcmd(fun, vdp, vdi, vds)
         * for us.  Oh well...
         */
        for (maj = 1; maj < nchrdev; ++maj)
-           if (cdevsw[maj].d_open == &vd_unuseddev)
+           if (cdevsw[maj].d_open == vd_unuseddev)
                break;
        if (maj >= nchrdev)
            return ENODEV;