From 46883ac898ebcda05014ba5f2b4c44f771bda924 Mon Sep 17 00:00:00 2001 From: Randy Dunlap Date: Tue, 4 Apr 2006 20:17:26 -0700 Subject: [PATCH] --- yaml --- r: 26795 b: refs/heads/master c: 92930d9e8121223e14131809c6e9959ee9e0c43f h: refs/heads/master i: 26793: e56bcf4bd5a574812b7b89fc8467a2c370c94097 26791: 2163552072bf414220091b42790d0e38a4c38f80 v: v3 --- [refs] | 2 +- trunk/Documentation/watchdog/watchdog-api.txt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 7d2997b147aa..809907089c84 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7071e522a58cb1b3469e4cd8664ef03a32076349 +refs/heads/master: 92930d9e8121223e14131809c6e9959ee9e0c43f diff --git a/trunk/Documentation/watchdog/watchdog-api.txt b/trunk/Documentation/watchdog/watchdog-api.txt index c5beb548cfc4..21ed51173662 100644 --- a/trunk/Documentation/watchdog/watchdog-api.txt +++ b/trunk/Documentation/watchdog/watchdog-api.txt @@ -36,6 +36,9 @@ timeout or margin. The simplest way to ping the watchdog is to write some data to the device. So a very simple watchdog daemon would look like this: +#include +#include + int main(int argc, const char *argv[]) { int fd=open("/dev/watchdog",O_WRONLY); if (fd==-1) {