fix compilation nit
authorPaul Mackerras <paulus@samba.org>
Sat, 14 Sep 1996 05:11:45 +0000 (05:11 +0000)
committerPaul Mackerras <paulus@samba.org>
Sat, 14 Sep 1996 05:11:45 +0000 (05:11 +0000)
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)
         * 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;
                break;
        if (maj >= nchrdev)
            return ENODEV;