Skip to content

Commit

Permalink
bpb: Convert sz string to 83 for volume name
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbird committed Oct 12, 2024
1 parent 30a6ed7 commit f1234d6
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 f1234d6

Please sign in to comment.