Switch refclock driver parameter to string

This commit is contained in:
Miroslav Lichvar
2009-08-19 15:29:52 +02:00
parent 8de55124a8
commit 67c0f1c08c
4 changed files with 27 additions and 11 deletions

View File

@@ -59,7 +59,7 @@ static int shm_initialise(RCL_Instance instance) {
int id, param;
struct shmTime *shm;
param = RCL_GetDriverParameter(instance);
param = atoi(RCL_GetDriverParameter(instance));
id = shmget(SHMKEY + param, sizeof (struct shmTime), IPC_CREAT | 0700);
if (id == -1) {