File unscd-log-dcnt.diff of Package unscd

Status: Submitted upstream.

--- nscd-0.45.c~	2010-04-27 09:07:47.912575000 +0200
+++ nscd-0.45.c	2010-04-27 09:13:40.905610000 +0200
@@ -2442,10 +2442,9 @@
 		}
 	}
 	/* Multiple -d can bump debug regardless of nscd.conf:
-	 * no -d or -d: 0, -dd: 1,
-	 * -ddd: 3, -dddd: 7, -ddddd: 15
+	 * no -d: 0, -d: 1, -dd: 3, -ddd: 7, -dddd: 15
 	 */
-	debug |= (((1U << opt_d_cnt) >> 1) - 1) & L_ALL;
+	debug |= ((1U << opt_d_cnt) - 1) & L_ALL;
 
 	env_U = getenv("U");
 	/* Avoid duplicate warnings if $U exists */
openSUSE Build Service is sponsored by