Tell about the full name we opened, not the unit.

Obtained from:	Sean Bruno
MFC after:	1 month
This commit is contained in:
Matt Jacob 2009-09-19 20:36:43 +00:00
parent 35589fc12f
commit 0e9d96d74e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=197333

View File

@ -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);