]> rtime.felk.cvut.cz Git - jailhouse.git/commit
inmates: lib: fix strncmp
authorpeter03192003@gmail.com <peter03192003@gmail.com>
Tue, 5 Apr 2016 18:01:13 +0000 (11:01 -0700)
committerJan Kiszka <jan.kiszka@siemens.com>
Thu, 7 Apr 2016 16:17:29 +0000 (09:17 -0700)
commitd15df6b08b729882740e78eb24d186bbf2e1cf3e
tree92dfd5780c78229a4348054640324039e4290f18
parent14f1fa9bff7660e3807e622bd7f401e68e17b7b6
inmates: lib: fix strncmp

We only tested the first character of the strings so far. Make sure to
advance the pointers correctly.

Signed-off-by: ShengYen Peng <peter03192003@gmail.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
inmates/lib/string.c