Author: dumbbell
Date: Sat Jan 27 17:24:27 2018
New Revision: 328484
URL: https://svnweb.freebsd.org/changeset/base/328484

Log:
  psm: Log syncmask[1], not syncmask[0] twice
  
  MFC of:               r328208

Modified:
  stable/11/sys/dev/atkbdc/psm.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/atkbdc/psm.c
==============================================================================
--- stable/11/sys/dev/atkbdc/psm.c      Sat Jan 27 16:56:54 2018        
(r328483)
+++ stable/11/sys/dev/atkbdc/psm.c      Sat Jan 27 17:24:27 2018        
(r328484)
@@ -2978,7 +2978,7 @@ psmintr(void *arg)
                        sc->flags &= ~PSM_NEED_SYNCBITS;
                        VLOG(2, (LOG_DEBUG,
                            "psmintr: Sync bytes now %04x,%04x\n",
-                           sc->mode.syncmask[0], sc->mode.syncmask[0]));
+                           sc->mode.syncmask[0], sc->mode.syncmask[1]));
                } else if ((sc->config & PSM_CONFIG_NOCHECKSYNC) == 0 &&
                    (c & sc->mode.syncmask[0]) != sc->mode.syncmask[1]) {
                        VLOG(3, (LOG_DEBUG, "psmintr: out of sync "
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to