Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/news68k/news68k use device_xname() (from chs@)



details:   https://anonhg.NetBSD.org/src/rev/545576c8bfb2
branches:  trunk
changeset: 782018:545576c8bfb2
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Oct 13 06:18:44 2012 +0000

description:
use device_xname()  (from chs@)

diffstat:

 sys/arch/news68k/news68k/autoconf.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 878a72bf83b6 -r 545576c8bfb2 sys/arch/news68k/news68k/autoconf.c
--- a/sys/arch/news68k/news68k/autoconf.c       Sat Oct 13 06:16:18 2012 +0000
+++ b/sys/arch/news68k/news68k/autoconf.c       Sat Oct 13 06:18:44 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.21 2012/07/29 18:05:45 mlelstv Exp $    */
+/*     $NetBSD: autoconf.c,v 1.22 2012/10/13 06:18:44 tsutsui Exp $    */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -51,7 +51,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.21 2012/07/29 18:05:45 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.22 2012/10/13 06:18:44 tsutsui Exp $");
 
 #include "scsibus.h"
 
@@ -110,7 +110,7 @@
        findroot();
 
        printf("boot device: %s\n",
-              booted_device ? booted_device->dv_xname : "<unknown>");
+              booted_device ? device_xname(booted_device) : "<unknown>");
 
        rootconf();
 }



Home | Main Index | Thread Index | Old Index