02.06.2010 05:48, Ryan Harper wrote: []
hw/virtio-blk.c | 3 +++ + if (strlen(s->sn) == 0) {
Just out of curiocity (not that it is wrong or inefficient): why strlen(s->sn) and not, say, !s->sn[0] ? /mjt
02.06.2010 05:48, Ryan Harper wrote: []
hw/virtio-blk.c | 3 +++ + if (strlen(s->sn) == 0) {
Just out of curiocity (not that it is wrong or inefficient): why strlen(s->sn) and not, say, !s->sn[0] ? /mjt