diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-12-02 00:20:51 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-12-10 16:09:53 +0100 |
commit | 82a87d043498eeacb7e4f3edc85d1b7c424ea853 (patch) | |
tree | 60d3978b0722d23f01da47eb534ec6fa271b3ed8 /isofs/main.c | |
parent | 0a4ada8d40fb687a659161ff7e0d1d0994264402 (diff) |
Replace `bcopy' with `memcpy' or `memmove' as appropriate
* ext2fs/inode.c: Replace `bcopy' with `memcpy' or `memmove' as
appropriate.
* ext2fs/pager.c: Likewise.
* isofs/lookup.c: Likewise.
* isofs/main.c: Likewise.
* isofs/rr.c: Likewise.
* libdiskfs/file-get-trans.c: Likewise.
* libiohelp/return-buffer.c: Likewise.
* libpager/pagemap.c: Likewise.
* libpipe/pq.c: Likewise.
* libpipe/pq.h: Likewise.
* libstore/unzipstore.c: Likewise.
* mach-defpager/default_pager.c: Likewise.
* pfinet/ethernet.c: Likewise.
* pfinet/tunnel.c: Likewise.
* storeio/dev.c: Likewise.
Diffstat (limited to 'isofs/main.c')
-rw-r--r-- | isofs/main.c | 2 |
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 */ |