aboutsummaryrefslogtreecommitdiff
path: root/src/systemcmds/tests/test_hrt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemcmds/tests/test_hrt.c')
-rw-r--r--src/systemcmds/tests/test_hrt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemcmds/tests/test_hrt.c b/src/systemcmds/tests/test_hrt.c
index ba6b86adb..5690997a9 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("/dev/tone_alarm", O_WRONLY);
+ fd = open(TONEALARM_DEVICE_PATH, O_WRONLY);
if (fd < 0) {
- printf("failed opening /dev/tone_alarm\n");
+ printf("failed opening " TONEALARM_DEVICE_PATH "\n");
goto out;
}