From 9179a68e9f79d99534111f09971c2ad434990843 Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Tue, 4 May 2010 18:41:59 +0300 Subject: [PATCH] op_test_inputs: fix power device name --- op_test_inputs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5