From: Grazvydas Ignotas Date: Tue, 4 May 2010 15:41:59 +0000 (+0300) Subject: op_test_inputs: fix power device name X-Git-Tag: Release-2010-05/1^0 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9179a68e9f79d99534111f09971c2ad434990843;p=pandora-misc.git op_test_inputs: fix power device name --- diff --git a/op_test_inputs.c b/op_test_inputs.c index 6597ab7..90e9b00 100644 --- a/op_test_inputs.c +++ b/op_test_inputs.c @@ -301,7 +301,7 @@ int main(int argc, char *argv[]) ioctl(fd, EVIOCGNAME(sizeof(name)), name); - if (strcasestr(name, "pwrbutton") != NULL) + if (strcasestr(name, "power") != NULL) { ifd[DEV_PWRBTN] = fd; }