along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include <locale.h>
#include <stdlib.h>
#include <stdbool.h>
#include <unistd.h>
}
static int list_vconsole_keymaps(DBusConnection *bus, char **args, unsigned n) {
- char **l, **i;
+ char _cleanup_strv_free_ **l = NULL;
+ char **i;
keymaps = set_new(string_hash_func, string_compare_func);
if (!keymaps)
STRV_FOREACH(i, l)
puts(*i);
- strv_free(l);
return 0;
}
dbus_error_init(&error);
+ setlocale(LC_ALL, "");
log_parse_environment();
log_open();