]> git.ipfire.org Git - thirdparty/kmod.git/commit
Keep valgrind happy when mixing sscanf and strtok
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Wed, 23 Nov 2011 19:52:48 +0000 (17:52 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Wed, 23 Nov 2011 19:52:48 +0000 (17:52 -0200)
commit6fc20bbfee8f3354c4ccabd1b7b6db5c45f5ccb4
tree2ce0481ac277f67ec975fd8542aa66206db15a37
parenteee1345cf24fcd21efcef907aec2ded4cca98874
Keep valgrind happy when mixing sscanf and strtok

When mixing sscanf() and strtok() Valgrind complaints like below:

==1641== Conditional jump or move depends on uninitialised value(s)

Use stroull() instead of sscanf().
libkmod/libkmod-loaded.c