On Fri, Aug 20, 2010 at 7:03 AM, Goffredo Baroncelli <kreijack@xxxxxxxxx> wrote: > > > + fprintf(stderr, "ERR-A.11: in command '"); > > I am not against this kind of error codes, but I prefer > > + fprintf(stderr, "Error 'ERR-A.11' in command '"); > > And a file.txt which details the error codes (otherwise these errors are not > very useful). > > Why some error codes contain a dot (see ERR-C.13) and others not (like ERR- > A3) ? Goffredo Baroncelli - I think those are good comments! However, I would further suggest that when reporting an error code that including the 'ERR-' prefix is redundant. Therefore, I propose: fprintf(stderr, "Error 'A.11' in command '"); What does A. 11 refer to, anyway? -- Jon -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
