Commit cf9cf9ae authored by Giel van Schijndel's avatar Giel van Schijndel Committed by Wim Van Sebroeck
Browse files

[WATCHDOG] doc: watchdog simple example: don't fail on fsync()

Don't terminate the watchdog daemon when fsync() fails because no
watchdog driver actually implements the fsync() syscall.
Signed-off-by: default avatarGiel van Schijndel <>
Signed-off-by: default avatarWim Van Sebroeck <>
parent 5e803716
......@@ -17,9 +17,6 @@ int main(void)
ret = -1;
ret = fsync(fd);
if (ret)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment