Messages in this thread Patch in this message |  | | Date | Mon, 8 Jan 2001 20:14:47 +0100 (CET) | From | Pavel Rabel <> | Subject | [PATCH] pritk.c oneliner |
| |
error is initialised twice
Pavel Rabel
--- kernel/printk.c.old Mon Jan 8 19:16:12 2001 +++ kernel/printk.c Mon Jan 8 19:17:54 2001 @@ -125,9 +125,8 @@ unsigned long i, j, limit, count; int do_clear = 0; char c; - int error = -EPERM; + int error = 0; - error = 0; switch (type) { case 0: /* Close log */ break; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |