chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fsck: be verbose when skipping fsck due to missing AC
[elogind.git]
/
src
/
vconsole-setup.c
diff --git
a/src/vconsole-setup.c
b/src/vconsole-setup.c
index 9e5d65da657ecfbb4d7664673a24b6fc86145be5..7703361e33ef6029f372a04006d1806fe989a452 100644
(file)
--- a/
src/vconsole-setup.c
+++ b/
src/vconsole-setup.c
@@
-113,11
+113,11
@@
static int load_font(const char *vc, const char *font, const char *map, const ch
args[i++] = "-C";
args[i++] = vc;
args[i++] = font;
- if (map
&& map[0] != '\0'
) {
+ if (map) {
args[i++] = "-m";
args[i++] = map;
}
- if (unimap
&& unimap[0] != '\0'
) {
+ if (unimap) {
args[i++] = "-u";
args[i++] = unimap;
}