Tell about the full name we opened, not the unit.
Obtained from: Sean Bruno MFC after: 1 month
This commit is contained in:
parent
35589fc12f
commit
0e9d96d74e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=197333
@ -293,7 +293,7 @@ main(int argc, char *argv[])
|
||||
if (targ_fd < 0)
|
||||
errx(1, "Tried to open %d devices, none available", unit);
|
||||
else
|
||||
warnx("opened /dev/targ%d", unit);
|
||||
warnx("opened %s", targname);
|
||||
|
||||
/* The first three are handled by kevent() later */
|
||||
signal(SIGHUP, SIG_IGN);
|
||||
|
Loading…
Reference in New Issue
Block a user