Fix for:
[src/krbd.cc:549]: (portability) Passing NULL after the last typed
argument to a variadic function leads to undefined behaviour.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
* libudev does not provide the "wait until the queue is empty"
* API or the sufficient amount of primitives to build it from.
*/
- string err = run_cmd("udevadm", "settle", "--timeout", "10", NULL);
+ string err = run_cmd("udevadm", "settle", "--timeout", "10", (char*)NULL);
if (!err.empty())
cerr << "rbd: " << err << std::endl;
}