[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[dm-devel] device-mapper/dmeventd libdevmapper-event.c



CVSROOT:	/cvs/dm
Module name:	device-mapper
Changes by:	agk sourceware org	2007-08-05 00:13:02

Modified files:
	dmeventd       : libdevmapper-event.c 

Log message:
	Use NULL not 0.
	Remove worthless comment.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/dmeventd/libdevmapper-event.c.diff?cvsroot=dm&r1=1.23&r2=1.24

--- device-mapper/dmeventd/libdevmapper-event.c	2007/08/02 22:31:59	1.23
+++ device-mapper/dmeventd/libdevmapper-event.c	2007/08/05 00:13:02	1.24
@@ -670,13 +670,7 @@
 }
 
 /*
- * dm_event_get_registered_device
- * @dso_name
- * @device_path
- * @mask
- * @next
- *
- * Returns: 0 if handler found, error (-ENOMEM, -ENOENT) otherwise
+ * Returns 0 if handler found; error (-ENOMEM, -ENOENT) otherwise.
  */
 int dm_event_get_registered_device(struct dm_event_handler *dmevh, int next)
 {
@@ -706,7 +700,7 @@
 	}
 
 	dm_task_destroy(dmt);
-	dmt = 0;
+	dmt = NULL;
 
 	if (msg.data) {
 		dm_free(msg.data);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]