Hi Denys

+       if (len != 0 && isdigit(disk[len - 1]))

There's no need to check for len being 0 here, because:

sprintf(devname, "/dev/%s", ptname);

The string passed always contains at least 5 chars ("/dev/").

- Lauri

-- 
http://www.fastmail.fm - IMAP accessible web-mail

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to