Author: imp
Date: Sun Apr  3 20:29:14 2016
New Revision: 297528
URL: https://svnweb.freebsd.org/changeset/base/297528

Log:
  Make $_ match the docs.

Modified:
  head/sbin/devd/devd.cc

Modified: head/sbin/devd/devd.cc
==============================================================================
--- head/sbin/devd/devd.cc      Sun Apr  3 16:38:15 2016        (r297527)
+++ head/sbin/devd/devd.cc      Sun Apr  3 20:29:14 2016        (r297528)
@@ -796,7 +796,7 @@ process_event(char *buffer)
        // $* is the entire line
        cfg.set_variable("*", buffer - 1);
        // $_ is the entire line without the initial character
-       cfg.set_variable("_", buffer - 1);
+       cfg.set_variable("_", buffer);
        // No match doesn't have a device, and the format is a little
        // different, so handle it separately.
        switch (type) {
_______________________________________________
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