chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util: remove a unnecessary check
[elogind.git]
/
src
/
locale
/
localectl.c
diff --git
a/src/locale/localectl.c
b/src/locale/localectl.c
index 2bb0d3b6be4e570dcb49edf3fb0de051c14f8940..bf8b7b2bef991a968c88886f233130f94613209b 100644
(file)
--- a/
src/locale/localectl.c
+++ b/
src/locale/localectl.c
@@
-272,7
+272,7
@@
static int list_vconsole_keymaps(sd_bus *bus, char **args, unsigned n) {
_cleanup_strv_free_ char **l = NULL;
const char *dir;
- keymaps = set_new(
string_hash_func, string_compare_func
);
+ keymaps = set_new(
&string_hash_ops
);
if (!keymaps)
return log_oom();