[PATCH] blktrace: ->fd and ->pfd init in net client mode
authorJens Axboe <axboe@suse.de>
Mon, 20 Feb 2006 10:17:39 +0000 (11:17 +0100)
committerJens Axboe <axboe@suse.de>
Mon, 20 Feb 2006 10:17:39 +0000 (11:17 +0100)
blktrace.c

index c1909a949c380328dcba22a0c3f37e7fea3ec5d4..51398db16490d3ae95fb7379befd0555d7fec8cf 100644 (file)
@@ -1275,6 +1275,8 @@ static struct device_information *net_get_dip(char *buts_name)
 
                tip->cpu = i;
                tip->device = dip;
+               tip->fd = -1;
+               tip->pfd = -1;
 
                if (tip_open_output(dip, tip))
                        return NULL;