This is probably the simplest approach...it does make every occurrence of
printk() a little ugly, however ;-). A similar alternative (that I
presented at first) is to do the same thing, but define symbolic names for
the strings in a separate file (one in each directory, for example):
#define STRING_FLOPPY_SCREWED "Your floppy is screwed!"
etc...
And use "printk(KERN_DEBUG STRING_FLOPPY_SCREWED);" instead. It would be
easier to consolidate per-language stuff here, rather than going through
every file and fiddling with the whoel #ifdef logic. Just $0.02.
Adam
--
He feeds on ashes; a deluded mind has led him Adam Bradley, UNCA Senior
astray, and he cannot deliver himself or say, Computer Science
"Is there not a lie in my right hand?" Isaiah 44:20
bradley@cs.unca.edu http://www.cs.unca.edu/~bradley <><