diff options
author | Greg McGary <greg@mcgary.org> | 1997-04-18 06:36:13 +0000 |
---|---|---|
committer | Greg McGary <greg@mcgary.org> | 1997-04-18 06:36:13 +0000 |
commit | f7fbb00cfa697cd1a47def573df65dd4d326c742 (patch) | |
tree | eda6aec5ae8de93a0d90dfe3e05d0c09d0e4cb8b /mkid.c | |
parent | 9da09030255feafece5f9d87617a64d5c66ede6f (diff) | |
download | idutils-f7fbb00cfa697cd1a47def573df65dd4d326c742.tar.gz idutils-f7fbb00cfa697cd1a47def573df65dd4d326c742.tar.bz2 idutils-f7fbb00cfa697cd1a47def573df65dd4d326c742.zip |
imported from mkid-3.0.5r3_0_5
Diffstat (limited to 'mkid.c')
-rw-r--r-- | mkid.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -560,7 +560,8 @@ write_idfile (char const *file_name, struct idarg *idarg) filerr ("create", file_name); exit (1); } - strncpy (idh.idh_magic, IDH_MAGIC, sizeof (idh.idh_magic)); + idh.idh_magic[0] = IDH_MAGIC_0; + idh.idh_magic[1] = IDH_MAGIC_1; idh.idh_version = IDH_VERSION; idh.idh_pad_1 = 0; idh.idh_flags = IDH_COUNTS; |