Hi Scott > Perhaps "compatible" should be used instead?
What do you mean? if (strcmp(partname, "partition") || strcmp(partname, "compatible") ) I can't see the advantages. > >> Hi Recardo, >> >> I would suggest to do: >> >> if (strcmp(partname, "partition") <= 0) { > > Check whether it sorts alphabetically before "partition"? Why? > > -Scott > -- Ricardo Ribalda http://www.eps.uam.es/~rribalda/ _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev