diff options
Diffstat (limited to 'tools/lguest/lguest.c')
-rw-r--r-- | tools/lguest/lguest.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lguest/lguest.c b/tools/lguest/lguest.c index f759f4f097c7..fd2f9221b241 100644 --- a/tools/lguest/lguest.c +++ b/tools/lguest/lguest.c | |||
@@ -1299,6 +1299,7 @@ static struct device *new_device(const char *name, u16 type) | |||
1299 | dev->feature_len = 0; | 1299 | dev->feature_len = 0; |
1300 | dev->num_vq = 0; | 1300 | dev->num_vq = 0; |
1301 | dev->running = false; | 1301 | dev->running = false; |
1302 | dev->next = NULL; | ||
1302 | 1303 | ||
1303 | /* | 1304 | /* |
1304 | * Append to device list. Prepending to a single-linked list is | 1305 | * Append to device list. Prepending to a single-linked list is |