Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/config Implicitly define attribute for device.
details: https://anonhg.NetBSD.org/src/rev/86b2b76f8be3
branches: trunk
changeset: 802957:86b2b76f8be3
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Fri Oct 10 08:14:47 2014 +0000
description:
Implicitly define attribute for device.
diffstat:
usr.bin/config/sem.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r ed2d99b6ac9d -r 86b2b76f8be3 usr.bin/config/sem.c
--- a/usr.bin/config/sem.c Fri Oct 10 08:13:52 2014 +0000
+++ b/usr.bin/config/sem.c Fri Oct 10 08:14:47 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sem.c,v 1.52 2014/10/10 07:48:50 uebayasi Exp $ */
+/* $NetBSD: sem.c,v 1.53 2014/10/10 08:14:47 uebayasi Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -442,6 +442,11 @@
dev->d_classattr = NULL; /* for now */
/*
+ * Implicit attribute definition for device.
+ */
+ refattr(dev->d_name);
+
+ /*
* For each interface attribute this device refers to, add this
* device to its reference list. This makes, e.g., finding all
* "scsi"s easier.
Home |
Main Index |
Thread Index |
Old Index