summaryrefslogtreecommitdiffstats
path: root/sbin/devd
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2016-04-03 20:29:14 +0000
committerimp <imp@FreeBSD.org>2016-04-03 20:29:14 +0000
commita5f0ce1fd75ae19f01d9e1ade052999191cae22e (patch)
tree28a6ea62f8fb8ba800a3eb2285fbfb951f6bdae4 /sbin/devd
parent654738b37a40fbab85dc975de5bcf68363c02cda (diff)
downloadFreeBSD-src-a5f0ce1fd75ae19f01d9e1ade052999191cae22e.zip
FreeBSD-src-a5f0ce1fd75ae19f01d9e1ade052999191cae22e.tar.gz
Make $_ match the docs.
Diffstat (limited to 'sbin/devd')
-rw-r--r--sbin/devd/devd.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/devd/devd.cc b/sbin/devd/devd.cc
index 46fe315..367783f 100644
--- a/sbin/devd/devd.cc
+++ b/sbin/devd/devd.cc
@@ -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) {
OpenPOWER on IntegriCloud