aboutsummaryrefslogtreecommitdiff
path: root/sbin/devd
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2016-04-03 20:29:14 +0000
committerWarner Losh <imp@FreeBSD.org>2016-04-03 20:29:14 +0000
commit535595db8d52ab8f9bb0154675336725adf67319 (patch)
tree28a6ea62f8fb8ba800a3eb2285fbfb951f6bdae4 /sbin/devd
parentf18b18fe5fb000f6deeeb92e9fec6e91102efaec (diff)
downloadsrc-535595db8d52ab8f9bb0154675336725adf67319.tar.gz
src-535595db8d52ab8f9bb0154675336725adf67319.zip
Make $_ match the docs.
Notes
Notes: svn path=/head/; revision=297528
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 46fe3154cd92..367783f87294 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) {