Bart Van Assche wrote:
> On Thu, Jan 29, 2009 at 12:34 AM, Mike Christie <micha...@cs.wisc.edu> wrote:
>>                         strncat(dev_dir, "/", FILENAMESZ);
>>                         strncat(dev_dir, dent->d_name, FILENAMESZ);
> 
> I assume the third argument should have been FILENAMESZ - strlen(dev_dir) ?
> 

Yes something like that, maybe just do a snprintf with all components in one go 
instead of all this strcat pain.

Regards,

Hans


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~----------~----~----~----~------~----~------~--~---

Reply via email to