mirror of https://github.com/FDOS/kernel.git
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
This commit is contained in:
parent
5214472bf7
commit
216f51cb65
|
@ -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));
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue