From ac155b0faca7e9c378e9059d318e1f5151c61561 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Tue, 3 Feb 2015 13:47:29 +0100 Subject: System cmds: Move to 0 based index --- src/systemcmds/tests/test_hrt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/systemcmds/tests/test_hrt.c') diff --git a/src/systemcmds/tests/test_hrt.c b/src/systemcmds/tests/test_hrt.c index 5690997a9..3ac99a5f6 100644 --- a/src/systemcmds/tests/test_hrt.c +++ b/src/systemcmds/tests/test_hrt.c @@ -124,10 +124,10 @@ int test_tone(int argc, char *argv[]) int fd, result; unsigned long tone; - fd = open(TONEALARM_DEVICE_PATH, O_WRONLY); + fd = open(TONEALARM0_DEVICE_PATH, O_WRONLY); if (fd < 0) { - printf("failed opening " TONEALARM_DEVICE_PATH "\n"); + printf("failed opening " TONEALARM0_DEVICE_PATH "\n"); goto out; } -- cgit v1.2.3