All of lore.kernel.org
 help / color / mirror / Atom feed
* dmraid/lib/misc file.c
@ 2010-01-11 16:19 heinzm
  0 siblings, 0 replies; only message in thread
From: heinzm @ 2010-01-11 16:19 UTC (permalink / raw)
  To: dm-cvs, dm-devel

CVSROOT:	/cvs/dm
Module name:	dmraid
Changes by:	heinzm@sourceware.org	2010-01-11 16:19:29

Modified files:
	lib/misc       : file.c 

Log message:
	Correct indentation and remove some empty lines

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/dmraid/lib/misc/file.c.diff?cvsroot=dm&r1=1.3&r2=1.4

--- dmraid/lib/misc/file.c	2008/06/20 21:52:18	1.3
+++ dmraid/lib/misc/file.c	2010/01/11 16:19:29	1.4
@@ -32,7 +32,6 @@
 	} while (s);
 
 	dbg_free(orig);
-
 	return ret;
 }
 
@@ -62,9 +61,9 @@
 		ssize_t(*func) ();
 		const char *what;
 	} rw_spec[] = {
-		{
-		read, "read"}, {
-	write, "writ"},}, *rw = rw_spec + ((flags & O_WRONLY) ? 1 : 0);
+		{ read, "read"},
+		{ write, "writ"},
+	}, *rw = rw_spec + ((flags & O_WRONLY) ? 1 : 0);
 
 	if ((fd = open(path, flags, lc->mode)) == -1)
 		LOG_ERR(lc, 0, "opening \"%s\"", path);
@@ -84,7 +83,6 @@
 		ret = 1;
 
 	close(fd);
-
 	return ret;
 }
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-01-11 16:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-11 16:19 dmraid/lib/misc file.c heinzm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.