diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2019-07-04 18:12:35 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2019-07-04 18:37:15 +0200 |
commit | a07b7b3b9c6e3a3234428fda98d987c47ed1872d (patch) | |
tree | aad58ddf579a7a4d3a8bc0df3827cbbbfcec907c | |
parent | e188cad25b290ae74f99d574bfbdade9601fa19b (diff) | |
download | hardware_replicant_libsamsung-ipc-a07b7b3b9c6e3a3234428fda98d987c47ed1872d.tar.gz hardware_replicant_libsamsung-ipc-a07b7b3b9c6e3a3234428fda98d987c47ed1872d.tar.bz2 hardware_replicant_libsamsung-ipc-a07b7b3b9c6e3a3234428fda98d987c47ed1872d.zip |
ipc.c: ipc_device_detect: fix cpuinfo board_name detection
This was introduced by the following commit:
f8bc990 Device detection mechanism improvments and more constitant devices naming
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r-- | samsung-ipc/ipc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samsung-ipc/ipc.c b/samsung-ipc/ipc.c index 070d736..f7e0379 100644 --- a/samsung-ipc/ipc.c +++ b/samsung-ipc/ipc.c @@ -74,7 +74,7 @@ int ipc_device_detect(void) line = strtok(buffer, "\n"); while (line != NULL) { - if (strncmp(line, "Hardware", 9) == 9) { + if (strncmp(line, "Hardware", 8) == 0) { p = line + 11; c = p; |