fix unknown key error formatting

This commit is contained in:
Dieter Plaetinck 2015-07-24 12:29:03 +02:00
parent cd832ea77c
commit 0f7a77f45b

View File

@ -273,7 +273,7 @@ func loadSpecifedConfigFile(configFile string) {
}
defaultKey, err := defaultSec.GetKey(key.Name())
if err != nil {
log.Error(3, "Unknown config key %s defined in section %s, in file", key.Name(), section.Name(), configFile)
log.Error(3, "Unknown config key %s defined in section %s, in file %s", key.Name(), section.Name(), configFile)
continue
}
defaultKey.SetValue(key.Value())