Code

fix error message in target_{replace,set}
[collectd.git] / src / target_replace.c
index 9a9affb4d3e6ba3841f33f0be7d3d47effade175..1d7af5c35d0b01a98ab1f9170b6e361fa8f41913 100644 (file)
@@ -296,8 +296,8 @@ static int tr_create (const oconfig_item_t *ci, void **user_data) /* {{{ */
         /* && (data->type == NULL) */
         && (data->type_instance == NULL))
     {
-      ERROR ("Target `replace': You need to set at lease one of `Host', "
-          "`Plugin', `PluginInstance', `Type', or `TypeInstance'.");
+      ERROR ("Target `replace': You need to set at least one of `Host', "
+          "`Plugin', `PluginInstance' or `TypeInstance'.");
       status = -1;
     }