summaryrefslogtreecommitdiff
path: root/isofs/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'isofs/main.c')
-rw-r--r--isofs/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isofs/main.c b/isofs/main.c
index 5d002aff..4f531f7e 100644
--- a/isofs/main.c
+++ b/isofs/main.c
@@ -101,7 +101,7 @@ read_sblock ()
sblock = malloc (sizeof (struct sblock));
if (!sblock)
error (1, errno, "Could not allocate memory for superblock");
- bcopy (sb, sblock, sizeof (struct sblock));
+ memcpy (sblock, sb, sizeof (struct sblock));
diskfs_end_catch_exception ();
/* Parse some important bits of this */