summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2012-08-06 04:44:47 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2012-08-06 04:44:47 (GMT)
commit500f67e5c3bdb9d0e8ebbe0b073a399da6d18a08 (patch)
tree7c9bc2a69ef9018494fb59ec28c60f2fc6867b7d
parentf8417ee35616999a9291df6b21e054659c157598 (diff)
downloadabcdisk-500f67e5c3bdb9d0e8ebbe0b073a399da6d18a08.zip
abcdisk-500f67e5c3bdb9d0e8ebbe0b073a399da6d18a08.tar.gz
abcdisk-500f67e5c3bdb9d0e8ebbe0b073a399da6d18a08.tar.bz2
abcdisk-500f67e5c3bdb9d0e8ebbe0b073a399da6d18a08.tar.xz
Unformatted contents seems to have been 0x40, not 0xe5...
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index 74f9ffb..9c445b5 100644
--- a/util.c
+++ b/util.c
@@ -34,7 +34,7 @@ struct disk *allocate_disk(const struct diskfmt *fmt)
disk->mfd.block = 0; /* This is the MFD */
/* Post-formatting content? */
- memset(disk->image, 0xe5, size);
+ memset(disk->image, 0x40, size);
/* Create empty bitmap */
memset(disk->bitmap, 0, fmt->ntracks);