blob: 896477bf0b0faf1a5de7152507726941dcf02e3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$NetBSD: patch-ac,v 1.1 2004/12/31 14:36:57 taca Exp $
--- src/ups.c.orig 2003-01-21 20:49:06.000000000 +0900
+++ src/ups.c
@@ -90,11 +90,11 @@ ups_new(name, device, timeout, grace)
int timeout;
int grace;
{
- static char *file[] = { UPSTAB,
+ static const char *file[] = { UPSTAB,
#ifdef DEBUG
- "upstab",
+ "upstab",
#endif
- NULL, };
+ NULL, };
char *ups_cap;
UPS ups;
char *s, *how;
|