Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.4.13 /drivers/video/vesafb.c

Filename:/drivers/video/vesafb.c
Lines Added:1
Lines Deleted:1
Also changed in: (Previous) 2.4.13-pre6  2.4.12-ac6  2.4.12-ac4  2.4.12-ac5  2.4.12-ac3  2.4.12-ac2 
(Following) 2.4.13-ac1  2.4.13-ac2  2.4.13-ac3  2.4.13-ac4  2.4.13-ac5  2.4.13-ac6 

Location
[  2.4.13
  [  drivers
    [  video
       o  vesafb.c

Patch

diff -u --recursive --new-file v2.4.12/linux/drivers/video/vesafb.c linux/drivers/video/vesafb.c
--- v2.4.12/linux/drivers/video/vesafb.c   Wed Apr 18 11:49:12 2001
+++ linux/drivers/video/vesafb.c   Sun Oct 21 10:14:38 2001
@@ -457,7 +457,7 @@
    if (!options || !*options)
       return 0;
    
-   for(this_opt=strtok(options,","); this_opt; this_opt=strtok(NULL,",")) {
+   while (this_opt = strsep(&options, ",")) {
       if (!*this_opt) continue;
       
       if (! strcmp(this_opt, "inverse"))


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.