X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=udev.c;h=bbe50eeeb4c542f6d8be634026da91098b97c6e4;hb=eb8b496e890de4ba347f78f0e7e978117ab2a479;hp=c633fff14b5afb9209f7d3d319befc8cdf9f6064;hpb=eef7c9a385575375a3e3310900022b37777aeb6c;p=elogind.git diff --git a/udev.c b/udev.c index c633fff14..bbe50eeeb 100644 --- a/udev.c +++ b/udev.c @@ -1,8 +1,6 @@ /* - * udev.c - * * Copyright (C) 2003-2004 Greg Kroah-Hartman - * Copyright (C) 2004-2005 Kay Sievers + * Copyright (C) 2004-2006 Kay Sievers * * 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);