Revision 6ab00cee block/vvfat.c
b/block/vvfat.c | ||
---|---|---|
379 | 379 |
{ |
380 | 380 |
/* TODO: if the files mbr.img and bootsect.img exist, use them */ |
381 | 381 |
mbr_t* real_mbr=(mbr_t*)s->first_sectors; |
382 |
partition_t* partition=&(real_mbr->partition[0]);
|
|
382 |
partition_t* partition = &(real_mbr->partition[0]);
|
|
383 | 383 |
int lba; |
384 | 384 |
|
385 | 385 |
memset(s->first_sectors,0,512); |
... | ... | |
526 | 526 |
t=localtime(&time); /* this is not thread safe */ |
527 | 527 |
#else |
528 | 528 |
struct tm t1; |
529 |
t=&t1;
|
|
529 |
t = &t1;
|
|
530 | 530 |
localtime_r(&time,t); |
531 | 531 |
#endif |
532 | 532 |
if(return_time) |
Also available in: Unified diff