Module Name: src
Committed By: cegger
Date: Tue May 12 06:57:00 UTC 2009
Modified Files:
src/sys/arch/acorn32/acorn32: autoconf.c
Log Message:
use device_xname()
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/acorn32/acorn32/autoconf.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/acorn32/acorn32/autoconf.c
diff -u src/sys/arch/acorn32/acorn32/autoconf.c:1.15 src/sys/arch/acorn32/acorn32/autoconf.c:1.16
--- src/sys/arch/acorn32/acorn32/autoconf.c:1.15 Sun Mar 15 22:18:35 2009
+++ src/sys/arch/acorn32/acorn32/autoconf.c Tue May 12 06:56:59 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.c,v 1.15 2009/03/15 22:18:35 cegger Exp $ */
+/* $NetBSD: autoconf.c,v 1.16 2009/05/12 06:56:59 cegger Exp $ */
/*
* Copyright (c) 1994-1998 Mark Brinicombe.
@@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.15 2009/03/15 22:18:35 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.16 2009/05/12 06:56:59 cegger Exp $");
#include "opt_md.h"
@@ -135,7 +135,7 @@
set_root_device();
printf("boot device: %s\n",
- booted_device != NULL ? booted_device->dv_xname : "<unknown>");
+ booted_device != NULL ? device_xname(booted_device) : "<unknown>");
#endif
setroot(booted_device, booted_partition);
}