Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6-0]: src/etc Pull up following revision(s) (requested by apb in ...
details: https://anonhg.NetBSD.org/src/rev/774ab3bcc897
branches: netbsd-6-0
changeset: 774760:774ab3bcc897
user: riz <riz%NetBSD.org@localhost>
date: Fri Feb 08 23:01:22 2013 +0000
description:
Pull up following revision(s) (requested by apb in ticket #801):
etc/MAKEDEV.tmpl: revision 1.161
The console major number is not always 0; when creating a temporary
console while populating a memory disk, use %CONSOLE_CMAJOR% instead
of 0, and let MAKEDEV.awk substitute the appropriate machine-dependent
major number.
This fixes a bug that I introduced in revision 1.82 dated 2007-03-11.
diffstat:
etc/MAKEDEV.tmpl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r b3e0e8aa673e -r 774ab3bcc897 etc/MAKEDEV.tmpl
--- a/etc/MAKEDEV.tmpl Fri Feb 08 20:46:14 2013 +0000
+++ b/etc/MAKEDEV.tmpl Fri Feb 08 23:01:22 2013 +0000
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $NetBSD: MAKEDEV.tmpl,v 1.151.2.6 2012/09/13 22:20:58 riz Exp $
+# $NetBSD: MAKEDEV.tmpl,v 1.151.2.6.2.1 2013/02/08 23:01:22 riz Exp $
#
# Copyright (c) 2003,2007,2008 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -2290,7 +2290,7 @@
if $do_redirect; then
# Redirect stdout and stderr to console
- mknod -m 600 -g 0 -u 0 temp_console c 0 0
+ mknod -m 600 -g 0 -u 0 temp_console c %CONSOLE_CMAJOR% 0
exec >temp_console 2>&1
rm temp_console
fi
Home |
Main Index |
Thread Index |
Old Index