Add a newline to the printf().
Spotted by: Peter Carah <pete@altadena.net> MFC after: 3 days
This commit is contained in:
parent
b48be86ce1
commit
b84baf83b9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=163386
@ -520,7 +520,7 @@ bus_dmamem_alloc(bus_dma_tag_t dmat, void** vaddr, int flags,
|
||||
__func__, dmat, dmat->flags, ENOMEM);
|
||||
return (ENOMEM);
|
||||
} else if ((uintptr_t)*vaddr & (dmat->alignment - 1)) {
|
||||
printf("bus_dmamem_alloc failed to align memory properly.");
|
||||
printf("bus_dmamem_alloc failed to align memory properly.\n");
|
||||
}
|
||||
CTR4(KTR_BUSDMA, "%s: tag %p tag flags 0x%x error %d",
|
||||
__func__, dmat, dmat->flags, ENOMEM);
|
||||
|
@ -456,7 +456,7 @@ bus_dmamem_alloc(bus_dma_tag_t dmat, void** vaddr, int flags,
|
||||
if (*vaddr == NULL)
|
||||
return (ENOMEM);
|
||||
else if ((uintptr_t)*vaddr & (dmat->alignment - 1))
|
||||
printf("bus_dmamem_alloc failed to align memory properly.");
|
||||
printf("bus_dmamem_alloc failed to align memory properly.\n");
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user