[svn-commits] fjoe: freebsd/trunk r8717 - /freebsd/trunk/drivers/dahdi/wctdm24xxp/base.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon May 31 22:28:56 CDT 2010


Author: fjoe
Date: Mon May 31 22:28:55 2010
New Revision: 8717

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=8717
Log:
style(9) fixes in FreeBSD-specific code.

Modified:
    freebsd/trunk/drivers/dahdi/wctdm24xxp/base.c

Modified: freebsd/trunk/drivers/dahdi/wctdm24xxp/base.c
URL: http://svnview.digium.com/svn/dahdi/freebsd/trunk/drivers/dahdi/wctdm24xxp/base.c?view=diff&rev=8717&r1=8716&r2=8717
==============================================================================
--- freebsd/trunk/drivers/dahdi/wctdm24xxp/base.c (original)
+++ freebsd/trunk/drivers/dahdi/wctdm24xxp/base.c Mon May 31 22:28:55 2010
@@ -5161,7 +5161,7 @@
 		return (ENXIO);
 
 	res = wctdm_init_one(dev, id);
-	return -res;
+	return (-res);
 }
 
 static int
@@ -5179,10 +5179,10 @@
 	switch (type) {
 	case MOD_LOAD:
 		res = wctdm_init();
-		return -res;
+		return (-res);
 	case MOD_UNLOAD:
 		wctdm_cleanup();
-		return 0;
+		return (0);
 	default:
 		return (EOPNOTSUPP);
 	}




More information about the svn-commits mailing list