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:
parent
2a62ffb72d
commit
3bc7d563e3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=109625
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user