On 05/12/2010 11:12 AM, Dmitry Marakasov wrote:
* Matt Jacob (mja...@freebsd.org) wrote:
- (void)make_dev_alias(softc->dev, "sg%c", 'a' + periph->unit_number);
+ if (periph->unit_number< 26) {
+ (void)make_dev_alias(softc->dev, "sg%c", periph->unit_number +
'a');
+ } else {
+ (void)make_dev_alias(softc->dev, "sg%c%c",
+ ((periph->unit_number / 26) - 1) + 'a', periph->unit_number
+ 'a');
((periph->unit_number / 26) - 1) + 'a', (periph->unit_number %
26) + 'a');
No?
yes, yes, the followup change corrected my pulling the wrong patch
thx
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"