Woody Suwalski writes:
authorEric Andersen <andersen@codepoet.org>
Sat, 10 Jan 2004 11:25:53 +0000 (11:25 -0000)
committerEric Andersen <andersen@codepoet.org>
Sat, 10 Jan 2004 11:25:53 +0000 (11:25 -0000)
I have found the problem in modprobe, so here is the promised patch
At the current stage I can use it as modprobe while switching between
2.4 and 2.6 seemlesly...(that is good!)

modutils/modprobe.c

index 1e4d24e0df850c45684fb7fd596fdf5384b64ae5..68754696b5c22f32aa65aad1f0e45b7b0e6444c5 100644 (file)
@@ -259,6 +259,7 @@ static struct dep_t *build_dep ( void )
                        current-> m_deparr [current-> m_depcnt - 1] = dep;              
 
                        //printf ( "    %d) %s\n", current-> m_depcnt, current-> m_deparr [current-> m_depcnt -1] );
+                       p = next + 2;
                        } while (next < end);
                }