File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1149,7 +1149,7 @@ static int __init parse_crashkernel_simple(char *cmdline,
1149
1149
if (* cur == '@' )
1150
1150
* crash_base = memparse (cur + 1 , & cur );
1151
1151
else if (* cur != ' ' && * cur != '\0' ) {
1152
- pr_warn ("crashkernel: unrecognized char\n" );
1152
+ pr_warn ("crashkernel: unrecognized char: %c \n" , * cur );
1153
1153
return - EINVAL ;
1154
1154
}
1155
1155
@@ -1186,12 +1186,12 @@ static int __init parse_crashkernel_suffix(char *cmdline,
1186
1186
1187
1187
/* check with suffix */
1188
1188
if (strncmp (cur , suffix , strlen (suffix ))) {
1189
- pr_warn ("crashkernel: unrecognized char\n" );
1189
+ pr_warn ("crashkernel: unrecognized char: %c \n" , * cur );
1190
1190
return - EINVAL ;
1191
1191
}
1192
1192
cur += strlen (suffix );
1193
1193
if (* cur != ' ' && * cur != '\0' ) {
1194
- pr_warn ("crashkernel: unrecognized char\n" );
1194
+ pr_warn ("crashkernel: unrecognized char: %c \n" , * cur );
1195
1195
return - EINVAL ;
1196
1196
}
1197
1197
You can’t perform that action at this time.
0 commit comments