* [PATCH] small fix to firmware helper
@ 2005-08-24 13:26 Amir Shalem
2005-08-24 19:26 ` Kay Sievers
0 siblings, 1 reply; 2+ messages in thread
From: Amir Shalem @ 2005-08-24 13:26 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1.1: Type: text/plain, Size: 81 bytes --]
small fix to firmware helper,
wrong string is being nullifed.
--
Amir.
[-- Attachment #1.2: firmware-null.diff --]
[-- Type: text/plain, Size: 504 bytes --]
diff -Nur udev-068.orig/extras/firmware/firmware_helper.c udev-068/extras/firmware/firmware_helper.c
--- udev-068.orig/extras/firmware/firmware_helper.c Thu Aug 18 20:04:49 2005
+++ udev-068/extras/firmware/firmware_helper.c Wed Aug 24 16:23:10 2005
@@ -109,7 +109,7 @@
}
snprintf(data_path, sizeof(data_path), "/sys/%s/data", devpath);
- fw_path[sizeof(data_path)-1] = '\0';
+ data_path[sizeof(data_path)-1] = '\0';
fw_fd = open(data_path, O_RDWR);
if (fw_fd < 0) {
rc = errno;
[-- Attachment #2: Type: application/pgp-signature, Size: 187 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] small fix to firmware helper
2005-08-24 13:26 [PATCH] small fix to firmware helper Amir Shalem
@ 2005-08-24 19:26 ` Kay Sievers
0 siblings, 0 replies; 2+ messages in thread
From: Kay Sievers @ 2005-08-24 19:26 UTC (permalink / raw)
To: linux-hotplug
On Wed, Aug 24, 2005 at 04:26:56PM +0300, Amir Shalem wrote:
> small fix to firmware helper,
> wrong string is being nullifed.
Thanks a lot. I've applied it.
Kay
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-08-24 19:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-24 13:26 [PATCH] small fix to firmware helper Amir Shalem
2005-08-24 19:26 ` Kay Sievers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).