**** BEGIN LOGGING AT Tue Jul 09 03:00:00 2013 Jul 09 19:33:10 Hi! Why strcmp(keyword, "console") in a if in cfgparser.c in parse_cmdline function doesn't work for me? I wont to blacklist some cmdline options Jul 09 19:34:44 http://pastebin.com/dmXcFmwF the complet code, I have no idea why it doesn't work Jul 09 19:39:12 dragonn: && Jul 09 19:39:36 !strcmp is true when strings match Jul 09 19:39:54 but you can't have both conditions true Jul 09 19:40:02 because keyword is the same Jul 09 19:40:07 use || Jul 09 19:40:43 I have tried without ! and then it parses all (console and no_console too), bot using strcoll(keyword, "console") && strcoll(keyword, "no_console_suspend") works better Jul 09 19:40:49 ah, you trying to exclude Jul 09 19:41:07 well, see Jul 09 19:41:15 strcmp return 0 if strings match Jul 09 19:41:26 i.e. false Jul 09 19:41:35 ! make it true Jul 09 19:44:07 so if you want to exclude console and no_console_suspend use (strcmp(k, "console") != 0) && (strcmp(k, "no_console_suspend") != 0) e.g. Jul 09 19:44:21 need to check anyway Jul 09 19:44:58 just (strcmp()) may works too but !=0 is easier to understand for me at least Jul 09 19:45:48 Hmm the problem was strcmp give me allways one result, so I got all paramters or no paramaters, with strcoll it works Jul 09 19:48:29 Well now it works ;), only one more left - blacklist some devices :P **** ENDING LOGGING AT Wed Jul 10 02:59:59 2013