diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2009-09-30 19:43:31 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-09-30 18:45:50 +0000 |
commit | 6ab00cee7024bd55a4a5159a6cfae46984099184 (patch) | |
tree | fbdd7edd35cd3d60e217663f111015a5f95a4fac /block | |
parent | 4839abe78fd466a3cf06faa7c362154afd5404f1 (diff) | |
download | qemu-6ab00cee7024bd55a4a5159a6cfae46984099184.zip qemu-6ab00cee7024bd55a4a5159a6cfae46984099184.tar.gz qemu-6ab00cee7024bd55a4a5159a6cfae46984099184.tar.bz2 |
vvfat: fix coding style nit
Put space between = and & when taking a pointer,
to avoid confusion with old-style "&=".
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'block')
-rw-r--r-- | block/vvfat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/block/vvfat.c b/block/vvfat.c index 1e37b9f..063f731 100644 --- a/block/vvfat.c +++ b/block/vvfat.c @@ -379,7 +379,7 @@ static void init_mbr(BDRVVVFATState* s) { /* TODO: if the files mbr.img and bootsect.img exist, use them */ mbr_t* real_mbr=(mbr_t*)s->first_sectors; - partition_t* partition=&(real_mbr->partition[0]); + partition_t* partition = &(real_mbr->partition[0]); int lba; memset(s->first_sectors,0,512); @@ -526,7 +526,7 @@ static uint16_t fat_datetime(time_t time,int return_time) { t=localtime(&time); /* this is not thread safe */ #else struct tm t1; - t=&t1; + t = &t1; localtime_r(&time,t); #endif if(return_time) |