diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2013-01-24 23:56:00 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2013-01-24 23:56:00 +0000 |
commit | 87e9b03aa63b988da3983c33fb33e8f4a25ea60e (patch) | |
tree | b36c15dbaafb44fb5d90bdcaf37f6055c7e94016 /sys-fs/eudev/files | |
parent | Add glew dep - 448596 (diff) | |
download | gentoo-2-87e9b03aa63b988da3983c33fb33e8f4a25ea60e.tar.gz gentoo-2-87e9b03aa63b988da3983c33fb33e8f4a25ea60e.tar.bz2 gentoo-2-87e9b03aa63b988da3983c33fb33e8f4a25ea60e.zip |
Fix typo that could break uclibc
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
Diffstat (limited to 'sys-fs/eudev/files')
-rw-r--r-- | sys-fs/eudev/files/eudev-fix-typo-util.c.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sys-fs/eudev/files/eudev-fix-typo-util.c.patch b/sys-fs/eudev/files/eudev-fix-typo-util.c.patch new file mode 100644 index 000000000000..371471e17733 --- /dev/null +++ b/sys-fs/eudev/files/eudev-fix-typo-util.c.patch @@ -0,0 +1,28 @@ +From 82f60023e3d4b33624c85a149915b411b504e426 Mon Sep 17 00:00:00 2001 +From: "Anthony G. Basile" <blueness@gentoo.org> +Date: Wed, 23 Jan 2013 20:16:57 -0500 +Subject: [PATCH] src/libudev/util.c: fix typo introduce at commit 1ebf647 + +The first argument of fcntl should be 'fd', the file descriptor. + +Signed-off-by: Anthony G. Basile <blueness@gentoo.org> +--- + src/libudev/util.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/libudev/util.c b/src/libudev/util.c +index 1d57a01..d3982b9 100644 +--- a/src/libudev/util.c ++++ b/src/libudev/util.c +@@ -4586,7 +4586,7 @@ int fopen_temporary(const char *path, FILE **_f, char **_temp_path) { + fd = mkostemp(t, O_WRONLY|O_CLOEXEC); + #else + fd = mkstemp(t); +- fcntl(t, F_SETFD, FD_CLOEXEC); ++ fcntl(fd, F_SETFD, FD_CLOEXEC); + #endif + if (fd < 0) { + free(t); +-- +1.7.12.4 + |