Skip to content

Commit

Permalink
Merge pull request #252 from andrewbird/label-02
Browse files Browse the repository at this point in the history
bpb: Convert sz string to 83 for volume name
  • Loading branch information
stsp authored Oct 13, 2024
2 parents 58d3eba + f1234d6 commit 40d7e07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/dsk.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ COUNT writelabelBPB(char drive, const char *name)

/* store volume name */
fs = (struct FS_info *)&DiskTransferBuffer[offset];
memcpy(&fs->volume[0], name, 11);
ConvertNameSZToName83(fs->volume, name);

ret = RWzero(pddt, LBA_WRITE);
if (ret != 0)
Expand Down

0 comments on commit 40d7e07

Please sign in to comment.