Correct a comment. Pointed out by Michael.Eriksson@era-t.ericsson.se.
This commit is contained in:
parent
46309d6bc6
commit
5d206b8d31
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: screenblank.c,v 1.14 2001/11/01 19:06:08 augustss Exp $ */
|
/* $NetBSD: screenblank.c,v 1.15 2001/11/06 22:56:02 augustss Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1996, 1998 The NetBSD Foundation, Inc.
|
* Copyright (c) 1996, 1998 The NetBSD Foundation, Inc.
|
||||||
@ -45,7 +45,7 @@
|
|||||||
__COPYRIGHT(
|
__COPYRIGHT(
|
||||||
"@(#) Copyright (c) 1996, 1998 \
|
"@(#) Copyright (c) 1996, 1998 \
|
||||||
The NetBSD Foundation, Inc. All rights reserved.");
|
The NetBSD Foundation, Inc. All rights reserved.");
|
||||||
__RCSID("$NetBSD: screenblank.c,v 1.14 2001/11/01 19:06:08 augustss Exp $");
|
__RCSID("$NetBSD: screenblank.c,v 1.15 2001/11/06 22:56:02 augustss Exp $");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
@ -269,7 +269,7 @@ add_dev(const char *path, int isfb)
|
|||||||
struct dev_stat *dsp;
|
struct dev_stat *dsp;
|
||||||
struct stat sb;
|
struct stat sb;
|
||||||
|
|
||||||
/* Make sure we can open the device. */
|
/* Make sure we can stat the device. */
|
||||||
if (stat(path, &sb) == -1) {
|
if (stat(path, &sb) == -1) {
|
||||||
warn("Can't stat `%s'", path);
|
warn("Can't stat `%s'", path);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user