Skip to content

Commit

Permalink
vvfat: fix coding style nit
Browse files Browse the repository at this point in the history
Put space between = and & when taking a pointer,
to avoid confusion with old-style "&=".

Signed-off-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Blue Swirl <[email protected]>
  • Loading branch information
mstsirkin authored and blueswirl committed Sep 30, 2009
1 parent 4839abe commit 6ab00ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions block/vvfat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 6ab00ce

Please sign in to comment.