mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 16:35:06 -05:00
Switch refclock driver parameter to string
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user