aboutsummaryrefslogtreecommitdiffstats
path: root/udev
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-03-27 06:58:50 +0100
committerGravatar Christian Hesse <mail@eworm.de>2014-03-27 06:58:50 +0100
commit7e141188120dd7617b910a43e8ba4f469a945130 (patch)
tree512f39121af064d359faf94e87b9b73803d0a8a7 /udev
parent4eb12d7f6dd13d800a0a5001bdd97c93f8931a80 (diff)
downloadmkinitcpio-ykfde-7e141188120dd7617b910a43e8ba4f469a945130.tar.gz
mkinitcpio-ykfde-7e141188120dd7617b910a43e8ba4f469a945130.tar.zst
always use small characters in config
Diffstat (limited to 'udev')
-rw-r--r--udev/ykfde.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/udev/ykfde.c b/udev/ykfde.c
index 05c72b4..9fe486e 100644
--- a/udev/ykfde.c
+++ b/udev/ykfde.c
@@ -108,7 +108,7 @@ int main(int argc, char **argv) {
char response_askpass[(SHA1_MAX_BLOCK_SIZE * 2) + 2];
/* iniparser */
dictionary * ini;
- char section_serial[10 /* unsigned int in char */ + 5 /* ":Slot" */ + 1];
+ char section_serial[10 /* unsigned int in char */ + 5 /* ":slot" */ + 1];
/* read challenge */
size_t fsize;
char * challenge;
@@ -170,9 +170,9 @@ int main(int argc, char **argv) {
* if anything here fails we do not care... slot 2 is the default */
if ((ini = iniparser_load(CONFIGFILE)) != NULL) {
/* first try the general setting */
- slot = iniparser_getint(ini, "general:Slot", slot);
+ slot = iniparser_getint(ini, "general:slot", slot);
- sprintf(section_serial, "%d:Slot", serial);
+ sprintf(section_serial, "%d:slot", serial);
/* then probe for setting with serial number */
slot = iniparser_getint(ini, section_serial, slot);