device-mapper/dmeventd libdevmapper-event.c

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

 



CVSROOT:	/cvs/dm
Module name:	device-mapper
Changes by:	agk@xxxxxxxxxxxxxx	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);

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux