The attached patch lets the seq_file api take care of buffer allocation instead of doing it by hand. -Jeff