summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-04 10:21:05 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-04 10:21:05 +0100
commit3e60fb80b79b26cccb7e246ffc7d439a78d9b502 (patch)
tree3abbd1117d77945d961a58d967e6ea2deaf5e226 /tools
parent16aae7e3e8e00b7ea39a6cbedaea94dcc75f160f (diff)
just warn, don't exit on Cygwin
Diffstat (limited to 'tools')
-rw-r--r--tools/adk/dkgetsz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/adk/dkgetsz.c b/tools/adk/dkgetsz.c
index fd9d07f22..b8315be70 100644
--- a/tools/adk/dkgetsz.c
+++ b/tools/adk/dkgetsz.c
@@ -90,6 +90,6 @@ numsecs(int fd)
err(1, "ioctl DIOCGDINFO");
return ((unsigned long long)dl.d_secperunit);
#else
-#error PLEASE DO IMPLEMENT numsecs FOR THIS PLATFORM.
+#warning PLEASE DO IMPLEMENT numsecs FOR THIS PLATFORM.
#endif
}