the iprintf macro. It was causing the actual format string and variable names to be written out, instead of substituting the values of the variables into the format string.
This is Boris Popov's SMB/CIFS file system implementation for FreeBSD. Obtained from: Boris Popov via ftp://ftp.butya.kz/pub/smbfs/