syscall messaging 3: Expand the 'header' that goes in front of the syscall
[dragonfly.git] / sys / kern / kern_ntptime.c
index b28a6d2..3cc00b6 100644 (file)
@@ -29,7 +29,7 @@
  * confusing and/or plain wrong in that context.
  *
  * $FreeBSD: src/sys/kern/kern_ntptime.c,v 1.32.2.2 2001/04/22 11:19:46 jhay Exp $
- * $DragonFly: src/sys/kern/kern_ntptime.c,v 1.6 2003/07/26 18:12:44 dillon Exp $
+ * $DragonFly: src/sys/kern/kern_ntptime.c,v 1.7 2003/07/30 00:19:14 dillon Exp $
  */
 
 #include "opt_ntp.h"
@@ -405,9 +405,9 @@ ntp_adjtime(struct ntp_adjtime_args *uap)
            time_status & STA_PPSJITTER) ||
            (time_status & STA_PPSFREQ &&
            time_status & (STA_PPSWANDER | STA_PPSERROR))) {
-               uap->lmsg.u.ms_result = TIME_ERROR;
+               uap->sysmsg_result = TIME_ERROR;
        } else {
-               uap->lmsg.u.ms_result = time_state;
+               uap->sysmsg_result = time_state;
        }
        return (error);
 }