PATCH: fix a doc error and misleading printk

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Jul 18 2003 - 09:24:54 EST


diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.6.0-test1/kernel/sched.c linux-2.6.0-test1-ac2/kernel/sched.c
--- linux-2.6.0-test1/kernel/sched.c 2003-07-14 14:11:57.000000000 +0100
+++ linux-2.6.0-test1-ac2/kernel/sched.c 2003-07-15 18:01:30.000000000 +0100
@@ -2080,7 +2080,7 @@
 }
 
 /**
- * sys_sched_get_priority_mix - return minimum RT priority.
+ * sys_sched_get_priority_min - return minimum RT priority.
  * @policy: scheduling class.
  *
  * this syscall returns the minimum rt_priority that can be used
@@ -2541,7 +2541,7 @@
                 if (time_before(jiffies, prev_jiffy + HZ))
                         return;
                 prev_jiffy = jiffies;
- printk(KERN_ERR "Debug: sleeping function called from illegal"
+ printk(KERN_ERR "Debug: sleeping function called from invalid"
                                 " context at %s:%d\n", file, line);
                 dump_stack();
         }
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:34 EST