mirror of
https://github.com/FDOS/kernel.git
synced 2025-04-08 17:15:17 +02:00
correct return value from NULL to FALSE - fix compile with OW1.9
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1501 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
bf408d35f4
commit
581d52a2bc
@ -1807,7 +1807,7 @@ BOOL copy(const BYTE *source, COUNT drive, const BYTE * filename)
|
|||||||
if (alloc_dos_mem(filesize, &theseg)!=0)
|
if (alloc_dos_mem(filesize, &theseg)!=0)
|
||||||
{
|
{
|
||||||
printf("Not enough memory to buffer %lu bytes for %s\n", filesize, source);
|
printf("Not enough memory to buffer %lu bytes for %s\n", filesize, source);
|
||||||
return NULL;
|
return FALSE;
|
||||||
}
|
}
|
||||||
bufptr = buffer = MK_FP(theseg, 0);
|
bufptr = buffer = MK_FP(theseg, 0);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user