summaryrefslogtreecommitdiffstats
path: root/exfat/libexfat/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'exfat/libexfat/log.c')
-rw-r--r--exfat/libexfat/log.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/exfat/libexfat/log.c b/exfat/libexfat/log.c
index 7e541aafb..38c79d456 100644
--- a/exfat/libexfat/log.c
+++ b/exfat/libexfat/log.c
@@ -3,7 +3,7 @@
exFAT file system implementation library.
Free exFAT implementation.
- Copyright (C) 2010-2013 Andrew Nayenko
+ Copyright (C) 2010-2015 Andrew Nayenko
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -47,7 +47,11 @@ void exfat_bug(const char* format, ...)
vsyslog(LOG_CRIT, format, aq);
va_end(aq);
+#if defined(__ANDROID__)
+ exit(-1);
+#else
abort();
+#endif
}
/*