From 216f51cb659e46fa6e65dddb1f5dc88441637400 Mon Sep 17 00:00:00 2001 From: Bart Oldeman Date: Tue, 24 Feb 2004 13:11:14 +0000 Subject: [PATCH] Use memcpy instead of fmemcpy where possible. git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@788 6ac86273-5f31-0410-b378-82cca8765d1b --- kernel/initdisk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/initdisk.c b/kernel/initdisk.c index 33f4562..ae42fb5 100644 --- a/kernel/initdisk.c +++ b/kernel/initdisk.c @@ -863,7 +863,7 @@ BOOL ScanForPrimaryPartitions(struct DriveParamS * driveParam, int scan_type, printCHS(" with calculated values ", &chs); printCHS(" instead of ", &pEntry->Begin); printf("\n"); - fmemcpy(&pEntry->Begin, &chs, sizeof(struct CHS)); + memcpy(&pEntry->Begin, &chs, sizeof(struct CHS)); } @@ -885,7 +885,7 @@ BOOL ScanForPrimaryPartitions(struct DriveParamS * driveParam, int scan_type, printCHS(" with calculated values ", &end); printCHS(" instead of ", &pEntry->End); printf("\n"); - fmemcpy(&pEntry->End, &end, sizeof(struct CHS)); + memcpy(&pEntry->End, &end, sizeof(struct CHS)); }