mirror of
https://github.com/ksherlock/wdc-utils.git
synced 2024-06-17 13:29:28 +00:00
properly initialize afp backup date.
This commit is contained in:
parent
4e51bd6c51
commit
06a3c5b5ae
|
@ -185,6 +185,7 @@ static void afp_init(struct AFP_Info *info, uint16_t file_type, uint32_t aux_typ
|
||||||
memset(info, 0, sizeof(*info));
|
memset(info, 0, sizeof(*info));
|
||||||
info->magic = 0x00504641;
|
info->magic = 0x00504641;
|
||||||
info->version = 0x00010000;
|
info->version = 0x00010000;
|
||||||
|
info->backup_date = 0x80000000;
|
||||||
info->prodos_file_type = file_type;
|
info->prodos_file_type = file_type;
|
||||||
info->prodos_aux_type = aux_type;
|
info->prodos_aux_type = aux_type;
|
||||||
if (file_type || aux_type)
|
if (file_type || aux_type)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user