summaryrefslogtreecommitdiff
path: root/cdplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'cdplayer.c')
-rw-r--r--cdplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cdplayer.c b/cdplayer.c
index 9d7cdb8..59d7128 100644
--- a/cdplayer.c
+++ b/cdplayer.c
@@ -29,7 +29,7 @@ static void *cdplayer_new()
t_cdplayer *x = (t_cdplayer *)pd_new(cdplayer_class);
outlet_new(&x->x_obj, &s_bang);
- sprintf(devicename,"/dev/cdrom");
+ sprintf(devicename, "%s", "/dev/cdrom");
x->device = gensym(devicename);
/*
fd = open(x->device->s_name, O_RDONLY);