chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
udevd: keep the right order for messages without SEQNUM
[elogind.git]
/
udev_add.c
diff --git
a/udev_add.c
b/udev_add.c
index e9ae150180f56675bad3d1618e62833060344cd8..9420b4fe14fb633c46d2c4f2b790fcc7b412f03a 100644
(file)
--- a/
udev_add.c
+++ b/
udev_add.c
@@
-1,10
+1,8
@@
/*
* udev-add.c
*
/*
* udev-add.c
*
- * Userspace devfs
- *
* Copyright (C) 2003 Greg Kroah-Hartman <greg@kroah.com>
* Copyright (C) 2003 Greg Kroah-Hartman <greg@kroah.com>
- *
+ *
Copyright (C) 2004 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
*
* 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
@@
-217,7
+215,7
@@
static int create_node(struct udevice *udev, struct sysfs_class_device *class_de
strlcat(linktarget, &udev->name[tail], sizeof(linktarget));
strlcat(linktarget, &udev->name[tail], sizeof(linktarget));
-
dbg("symlink(%s, %s)", linktarget, filename
);
+
info("creating symlink '%s' to '%s'", filename, linktarget
);
if (!udev->test_run) {
unlink(filename);
selinux_setfscreatecon(filename, NULL, S_IFLNK);
if (!udev->test_run) {
unlink(filename);
selinux_setfscreatecon(filename, NULL, S_IFLNK);