]> git.ipfire.org Git - thirdparty/kmod.git/commit
modprobe: flush stdout before dumping indexes
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Tue, 17 Jan 2012 12:05:02 +0000 (10:05 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Tue, 17 Jan 2012 12:11:03 +0000 (10:11 -0200)
commit09e9ae58b6b463bea083eb5bb57665b87c08a66c
treee291dc681a2cf852e1e52399e73addd67c32bdc5
parentb8542a82b7f161dc85a61a896bdd5ce106dcc946
modprobe: flush stdout before dumping indexes

Index dump doesn't use stdio.h function and instead call write()
directly on STDOUT_FILENO file descriptor. Therefore we need to flush
stdio buffers before calling it, to be sure the configuration dump will
appear before index's.
libkmod/libkmod.c
tools/kmod-modprobe.c