Source-Changes-HG archive

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

[src/trunk]: src/tests/include Need root for /dev/power.



details:   https://anonhg.NetBSD.org/src/rev/b759f87db709
branches:  trunk
changeset: 768217:b759f87db709
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Fri Aug 12 03:59:44 2011 +0000

description:
Need root for /dev/power.

diffstat:

 tests/include/t_paths.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 31a9fd5f6f8c -r b759f87db709 tests/include/t_paths.c
--- a/tests/include/t_paths.c   Fri Aug 12 03:26:51 2011 +0000
+++ b/tests/include/t_paths.c   Fri Aug 12 03:59:44 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_paths.c,v 1.7 2011/07/23 14:28:28 hannken Exp $ */
+/*     $NetBSD: t_paths.c,v 1.8 2011/08/12 03:59:44 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_paths.c,v 1.7 2011/07/23 14:28:28 hannken Exp $");
+__RCSID("$NetBSD: t_paths.c,v 1.8 2011/08/12 03:59:44 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/stat.h>
@@ -79,7 +79,7 @@
        { _PATH_MIXER,          PATH_DEV                },
        { _PATH_MIXER0,         PATH_DEV                },
        { _PATH_NOLOGIN,        PATH_FILE               },
-       { _PATH_POWER,          PATH_DEV                },
+       { _PATH_POWER,          PATH_DEV | PATH_ROOT    },
        { _PATH_PRINTCAP,       PATH_FILE               },
        { _PATH_PUD,            PATH_DEV | PATH_ROOT    },
        { _PATH_PUFFS,          PATH_DEV | PATH_ROOT    },



Home | Main Index | Thread Index | Old Index