public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-fs/eudev/files: eudev-fix-typo-util.c.patch
@ 2013-01-24 23:56 Anthony G. Basile (blueness)
  0 siblings, 0 replies; only message in thread
From: Anthony G. Basile (blueness) @ 2013-01-24 23:56 UTC (permalink / raw
  To: gentoo-commits

blueness    13/01/24 23:56:00

  Added:                eudev-fix-typo-util.c.patch
  Log:
  Fix typo that could break uclibc
  
  (Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)

Revision  Changes    Path
1.1                  sys-fs/eudev/files/eudev-fix-typo-util.c.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/eudev/files/eudev-fix-typo-util.c.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/eudev/files/eudev-fix-typo-util.c.patch?rev=1.1&content-type=text/plain

Index: eudev-fix-typo-util.c.patch
===================================================================
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






^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-01-24 23:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-24 23:56 [gentoo-commits] gentoo-x86 commit in sys-fs/eudev/files: eudev-fix-typo-util.c.patch Anthony G. Basile (blueness)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox