aboutsummaryrefslogtreecommitdiffstats
path: root/src/gdriver
diff options
context:
space:
mode:
Diffstat (limited to 'src/gdriver')
-rw-r--r--src/gdriver/gdriver_gdriver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gdriver/gdriver_gdriver.c b/src/gdriver/gdriver_gdriver.c
index d44d6f3c..916b44fb 100644
--- a/src/gdriver/gdriver_gdriver.c
+++ b/src/gdriver/gdriver_gdriver.c
@@ -56,7 +56,7 @@ GDriver *gdriverRegister(const GDriverVMT *vmt, void *param) {
if (dhead)
dtail->driverchain = pd;
else
- dhead = pd;
+ dhead = dtail = pd;
// Do the post init
if (vmt->postinit)