From: Romain D. <do...@us...> - 2001-11-07 10:19:23
|
Update of /cvsroot/linuxconsole/ruby/linux/drivers/video In directory usw-pr-cvs1:/tmp/cvs-serv17865 Modified Files: fbcon.c Log Message: fix to 'fbcon_setup' Index: fbcon.c =================================================================== RCS file: /cvsroot/linuxconsole/ruby/linux/drivers/video/fbcon.c,v retrieving revision 1.56 retrieving revision 1.57 diff -u -d -r1.56 -r1.57 --- fbcon.c 2001/10/29 00:11:00 1.56 +++ fbcon.c 2001/11/07 10:19:20 1.57 @@ -166,12 +166,14 @@ static int __init fbcon_setup(char *options) { + char *this_opt; if (!options || !*options) return 0; while (this_opt = strsep(&options, ",")) { - if (!strncmp(options, "font:", 5)) - strcpy(fontname, options+5); + if (!strncmp(this_opt, "font:", 5)) + strcpy(fontname, this_opt+5); + } return 0; } |