kernel: fix typo in process change
authorAlan Cox <alan@linux.intel.com>
Thu, 14 Dec 2017 13:45:29 +0000 (13:45 +0000)
committerAlan Cox <alan@linux.intel.com>
Thu, 14 Dec 2017 13:45:29 +0000 (13:45 +0000)
Kernel/process.c

index 0e1a908..29e78b0 100644 (file)
@@ -256,7 +256,7 @@ ptptr ptab_alloc(void)
        udata.u_error = EAGAIN;
 
        irq = di();
-       for (p = ptab; p < ptab_end; p++)
+       for (p = ptab; p < ptab_end; p++) {
                if (p->p_status == P_EMPTY) {
                        newp = p;
                        /* zero process structure */