chiark / gitweb /
volume_id: add comment about hfs uuid conversion
[elogind.git] / udev.c
diff --git a/udev.c b/udev.c
index c633fff14b5afb9209f7d3d319befc8cdf9f6064..bbe50eeeb4c542f6d8be634026da91098b97c6e4 100644 (file)
--- a/udev.c
+++ b/udev.c
@@ -1,8 +1,6 @@
 /*
- * udev.c
- *
  * Copyright (C) 2003-2004 Greg Kroah-Hartman <greg@kroah.com>
- * Copyright (C) 2004-2005 Kay Sievers <kay.sievers@vrfy.org>
+ * Copyright (C) 2004-2006 Kay Sievers <kay.sievers@vrfy.org>
  *
  *     This program is free software; you can redistribute it and/or modify it
  *     under the terms of the GNU General Public License as published by the
@@ -15,7 +13,7 @@
  * 
  *     You should have received a copy of the GNU General Public License along
  *     with this program; if not, write to the Free Software Foundation, Inc.,
- *     675 Mass Ave, Cambridge, MA 02139, USA.
+ *     51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
  */
 
@@ -77,7 +75,7 @@ int main(int argc, char *argv[], char *envp[])
                exit(0);
        }
 
-       /* set std fd's to /dev/null, if the kernel forks us, we don't have them at all */
+       /* set std fd's to /dev/null, /sbin/hotplug forks us, we don't have them at all */
        devnull = open("/dev/null", O_RDWR);
        if (devnull >= 0)  {
                if (devnull != STDIN_FILENO)
@@ -92,7 +90,7 @@ int main(int argc, char *argv[], char *envp[])
 
        logging_init("udev");
        if (devnull < 0)
-               err("fatal, could not open /dev/null: %s", strerror(errno));
+               err("open /dev/null failed: %s", strerror(errno));
        udev_config_init();
        selinux_init();
        dbg("version %s", UDEV_VERSION);