Fix call to log_warning_msg. Thanks to Bradley Smith <brad@brad-smith.co.uk>.