[PATCH] Kernel module compile faliure in mcd
Niclas Zeising
lothrandil at n00b.apagnu.se
Sun Jan 30 08:35:57 PST 2005
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
--
-------------- next part --------------
--- 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
More information about the freebsd-current
mailing list