[Initscripts-ng-commits] r273 - /trunk/src/insserv/debian/patches/42_redundantlvl.dpatch

pere at users.alioth.debian.org pere at users.alioth.debian.org
Sat Nov 17 18:05:12 UTC 2007


Author: pere
Date: Sat Nov 17 18:05:12 2007
New Revision: 273

URL: http://svn.debian.org/wsvn/initscripts-ng/?sc=1&rev=273
Log:
Typo.

Modified:
    trunk/src/insserv/debian/patches/42_redundantlvl.dpatch

Modified: trunk/src/insserv/debian/patches/42_redundantlvl.dpatch
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/patches/42_redundantlvl.dpatch?rev=273&op=diff
==============================================================================
--- trunk/src/insserv/debian/patches/42_redundantlvl.dpatch (original)
+++ trunk/src/insserv/debian/patches/42_redundantlvl.dpatch Sat Nov 17 18:05:12 2007
@@ -110,9 +110,9 @@
 +const int map_key_to_lvl(const char key)
 +{
 +    int runlevel;
-+    char uckey = toupper(key);
++    const char uckey = toupper(key);
 +    for (runlevel = 0; runlevel < RUNLEVLES; runlevel++) {
-+	if (runlevel_locations[runlevel].key = uckey)
++	if (uckey = runlevel_locations[runlevel].key)
 +	    return runlevel_locations[runlevel].lvl;
 +    }
 +    warn("Wrong runlevel key '%c'\n", uckey);




More information about the Initscripts-ng-commits mailing list