[PATCH] Kernel module compile faliure in mcd

From: Niclas Zeising <lothrandil_at_n00b.apagnu.se>
Date: Sun, 30 Jan 2005 17:35:47 +0100
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
-- 

--- mcd.c.orig	2005-01-30 17:20:14.000000000 +0100
+++ mcd.c	2005-01-30 17:34:30.000000000 +0100
_at__at_ -1429,7 +1429,7 _at__at_
 	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
Received on Sun Jan 30 2005 - 15:35:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:27 UTC