diff options
author | Kay Sievers <kay.sievers@suse.de> | 2006-01-23 03:24:16 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2006-01-23 03:24:16 +0100 |
commit | d8a57e7c2624bf19ad2f4f91a6d9149d5228402f (patch) | |
tree | 4922db6da1f64f69fed7a0c11f137a79e8312675 /udev_utils_run.c | |
parent | aaa14841de57fc0d8c92514da9453c58d9ba59fe (diff) |
Makefile: remove dynamic config file generation
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udev_utils_run.c')
-rw-r--r-- | udev_utils_run.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/udev_utils_run.c b/udev_utils_run.c index c6af90658d..31363588c8 100644 --- a/udev_utils_run.c +++ b/udev_utils_run.c @@ -30,7 +30,6 @@ #include <sys/un.h> #include <sys/wait.h> #include <sys/select.h> -#include <unistd.h> #include "udev.h" @@ -51,7 +50,7 @@ int pass_env_to_socket(const char *sockname, const char *devpath, const char *ac sock = socket(AF_LOCAL, SOCK_DGRAM, 0); memset(&saddr, 0x00, sizeof(struct sockaddr_un)); saddr.sun_family = AF_LOCAL; - /* only abstract namespace is supported */ + /* abstract namespace only */ strcpy(&saddr.sun_path[1], sockname); addrlen = offsetof(struct sockaddr_un, sun_path) + strlen(saddr.sun_path+1) + 1; |