Add a newline to the printf().

Spotted by:	Peter Carah <pete@altadena.net>
MFC after:	3 days
This commit is contained in:
Hiroki Sato 2006-10-15 16:52:59 +00:00
parent b48be86ce1
commit b84baf83b9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=163386
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);
}