1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

Add a missing '{'

This commit is contained in:
Poul-Henning Kamp 2003-01-21 09:57:01 +00:00
parent 2a62ffb72d
commit 3bc7d563e3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=109625

View File

@ -168,7 +168,7 @@ acdattach(struct ata_device *atadev)
DEVSTAT_TYPE_CDROM | DEVSTAT_TYPE_IF_IDE,
DEVSTAT_PRIORITY_CD);
}
if (!(name = malloc(strlen(atadev->name) + 2, M_ACD, M_NOWAIT)))
if (!(name = malloc(strlen(atadev->name) + 2, M_ACD, M_NOWAIT))) {
ata_prtdev(atadev, "out of memory\n");
free(cdp, M_ACD);
return 0;