13 lines
656 B
Diff
13 lines
656 B
Diff
|
diff -pur dosfstools-2.11-3/mkdosfs/mkdosfs.c dosfstools-2.11/mkdosfs/mkdosfs.c
|
||
|
--- dosfstools-2.11-3/mkdosfs/mkdosfs.c 2005-11-03 08:26:13.112421613 -0800
|
||
|
+++ dosfstools-2.11/mkdosfs/mkdosfs.c 2005-11-07 07:14:47.288053612 -0800
|
||
|
@@ -809,7 +809,7 @@ setup_tables (void)
|
||
|
/* On Atari, the first few bytes of the boot sector are assigned
|
||
|
* differently: The jump code is only 2 bytes (and m68k machine code
|
||
|
* :-), then 6 bytes filler (ignored), then 3 byte serial number. */
|
||
|
- strncpy( bs.system_id-1, "mkdosf", 6 );
|
||
|
+ strncpy( bs.system_id, "mkdosf", 6);
|
||
|
else
|
||
|
strcpy (bs.system_id, "mkdosfs");
|
||
|
if (sectors_per_cluster)
|