Module Name:    src
Committed By:   pgoyette
Date:           Wed May  6 23:08:31 UTC 2015

Modified Files:
        src/sbin/wdogctl: wdogctl.c

Log Message:
Use _PATH_WATCHDOG from <paths.h> instead of locally-defined value.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sbin/wdogctl/wdogctl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sbin/wdogctl/wdogctl.c
diff -u src/sbin/wdogctl/wdogctl.c:1.20 src/sbin/wdogctl/wdogctl.c:1.21
--- src/sbin/wdogctl/wdogctl.c:1.20	Sat Aug 27 19:00:35 2011
+++ src/sbin/wdogctl/wdogctl.c	Wed May  6 23:08:30 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: wdogctl.c,v 1.20 2011/08/27 19:00:35 joerg Exp $	*/
+/*	$NetBSD: wdogctl.c,v 1.21 2015/05/06 23:08:30 pgoyette Exp $	*/
 
 /*-
  * Copyright (c) 2000 Zembu Labs, Inc.
@@ -35,7 +35,7 @@
 #include <sys/cdefs.h>
 
 #ifndef lint
-__RCSID("$NetBSD: wdogctl.c,v 1.20 2011/08/27 19:00:35 joerg Exp $");
+__RCSID("$NetBSD: wdogctl.c,v 1.21 2015/05/06 23:08:30 pgoyette Exp $");
 #endif
 
 
@@ -53,8 +53,7 @@ __RCSID("$NetBSD: wdogctl.c,v 1.20 2011/
 #include <syslog.h>
 #include <unistd.h>
 #include <string.h>
-
-#define	_PATH_WATCHDOG		"/dev/watchdog"
+#include <paths.h>
 
 static void	enable_kernel(const char *, u_int);
 static void	enable_user(const char *, u_int, int);

Reply via email to