mpcc ports hang with TS_BUSY; bug report 4.3BSD-tahoe/sys/23
[unix-history] / usr / src / sys / tahoe / vba / ik.c
index e6f59e5..780ae5b 100644 (file)
@@ -1,4 +1,6 @@
-/*     ik.c    1.5     86/12/23        */
+/*
+ *     @(#)ik.c        7.1 (Berkeley) %G%
+ */
 
 #include "ik.h"
 #if NIK > 0
 
 #include "ik.h"
 #if NIK > 0
@@ -672,7 +674,8 @@ ikioctl(dev, cmd, data, flag)
                }
                splx(s);
                bp->b_flags = B_BUSY | B_WRITE;
                }
                splx(s);
                bp->b_flags = B_BUSY | B_WRITE;
-               error = copyin(lp->pl_name, sc->is_buf, (unsigned)lp->pl_len);
+               error = copyin(lp->pl_name, (caddr_t)sc->is_buf,
+                   (unsigned)lp->pl_len);
                if (error == 0) {
                        if (lp->pl_len&1)
                                sc->is_buf[lp->pl_len] = '\0';
                if (error == 0) {
                        if (lp->pl_len&1)
                                sc->is_buf[lp->pl_len] = '\0';