summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/rbassert.h
diff options
context:
space:
mode:
authorFranklin Wei <franklin@rockbox.org>2020-06-25 16:33:19 -0400
committerFranklin Wei <franklin@rockbox.org>2020-06-25 16:46:03 -0400
commitd75131569cb74faa2a75eb94b1a81e8c0fe7bb7f (patch)
treed75ae898a5182da6996de3cbcd2dcd1318f3fd66 /apps/plugins/puzzles/rbassert.h
parentb67d9e9217351c903a9d1ac571db698e362f3d18 (diff)
downloadrockbox-d75131569cb74faa2a75eb94b1a81e8c0fe7bb7f.tar.gz
rockbox-d75131569cb74faa2a75eb94b1a81e8c0fe7bb7f.zip
puzzles: clean up error messages
Expands buffer size, and prints to LOGF. Change-Id: I6dbcf60152d69c928270023c550976b802269d95
Diffstat (limited to 'apps/plugins/puzzles/rbassert.h')
-rw-r--r--apps/plugins/puzzles/rbassert.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/puzzles/rbassert.h b/apps/plugins/puzzles/rbassert.h
index f3fef84351..56142d633b 100644
--- a/apps/plugins/puzzles/rbassert.h
+++ b/apps/plugins/puzzles/rbassert.h
@@ -8,6 +8,6 @@
8#define assert(p) ((void)0) 8#define assert(p) ((void)0)
9#else 9#else
10 10
11#define assert(e) ((e) ? (void)0 : fatal("assertion failed %s:%d", __FILE__, __LINE__)) 11#define assert(e) ((e) ? (void)0 : fatal("assertion failed on %s line %d: " #e, __FILE__, __LINE__))
12 12
13#endif /* NDEBUG */ 13#endif /* NDEBUG */