summaryrefslogtreecommitdiff
blob: 78f022c0dc2c75c93d416f325101853336ee6a69 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- util-linux/mdev.c.orig	2008-08-21 14:18:38.000000000 +0200
+++ util-linux/mdev.c	2008-08-21 14:24:18.000000000 +0200
@@ -220,7 +220,7 @@
 			break;
 		{
 			const char *s = "@$*";
-			const char *s2 = strchr(s, *val);
+			char *s2 = strchr(s, *val);
 
 			if (!s2)
 				bb_error_msg_and_die("bad line %u", parser->lineno);