[PATCH] pritk.c oneliner

Pavel Rabel (pavel@web.sajt.cz)
Mon, 8 Jan 2001 20:14:47 +0100 (CET)


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/