diff options
Diffstat (limited to 'ntpshm.c')
-rw-r--r-- | ntpshm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -54,13 +54,13 @@ static /*@null@*/ struct shmTime *getShmTime(int unit) int shmid=shmget ((key_t)(NTPD_BASE+unit), sizeof (struct shmTime), IPC_CREAT|0644); if (shmid == -1) { - gpsd_report(LOG_ERR, "shmget failed\n"); + gpsd_report(LOG_ERROR, "shmget failed\n"); return NULL; } else { struct shmTime *p=(struct shmTime *)shmat (shmid, 0, 0); /*@ -mustfreefresh */ if ((int)(long)p == -1) { - gpsd_report(LOG_ERR, "shmat failed\n"); + gpsd_report(LOG_ERROR, "shmat failed\n"); return NULL; } gpsd_report(LOG_PROG, "shmat(%d,0,0) succeeded\n"); |