small fix to firmware helper
PATCH 1/1 small fix to firmware helper
small fix to firmware helper,
wrong string is being nullifed.
Signature · 1 line
Amir.
extras/firmware/firmware_helper.c +1 -1
@@ -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;
Quoted 2 lines · Amir Shalem
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel