Author: mjacob
Date: Sat Sep 19 20:36:43 2009
New Revision: 197333
URL: http://svn.freebsd.org/changeset/base/197333

Log:
  Tell about the full name we opened, not the unit.
  
  Obtained from:        Sean Bruno
  MFC after:    1 month

Modified:
  head/share/examples/scsi_target/scsi_target.c

Modified: head/share/examples/scsi_target/scsi_target.c
==============================================================================
--- head/share/examples/scsi_target/scsi_target.c       Sat Sep 19 20:25:54 
2009        (r197332)
+++ head/share/examples/scsi_target/scsi_target.c       Sat Sep 19 20:36:43 
2009        (r197333)
@@ -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);
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to