Date: Sun, 30 Jan 2005 17:35:47 +0100 From: Niclas Zeising <lothrandil@n00b.apagnu.se> To: current@freebsd.org Subject: [PATCH] Kernel module compile faliure in mcd Message-ID: <41FD0CE3.8070406@n00b.apagnu.se>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------030805010204010903060103 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Don't know if this should be filed as a pr, but as the fix is trivial and just need to be committed (I belive) i send it here. Please correct me if i should file a PR. In rev 1.145 of src/sys/dev/mcd/mcd.c there is a typo which makes the kernel build fail. On line 1432 there is a return(0) missing an ending ';'. Patch included. Cheers! //Niclas -- --------------030805010204010903060103 Content-Type: text/plain; name="mcd.c.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="mcd.c.diff" --- mcd.c.orig 2005-01-30 17:20:14.000000000 +0100 +++ mcd.c 2005-01-30 17:34:30.000000000 +0100 @@ -1429,7 +1429,7 @@ if (nocopyout == 0) return copyout(&data, sch->data, min(sizeof(struct cd_sub_channel_info), sch->data_len)); bcopy(&data, sch->data, min(sizeof(struct cd_sub_channel_info), sch->data_len)); - return (0) + return (0); } static int --------------030805010204010903060103--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41FD0CE3.8070406>