aboutsummaryrefslogtreecommitdiff
path: root/procfs/rootdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'procfs/rootdir.c')
-rw-r--r--procfs/rootdir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/procfs/rootdir.c b/procfs/rootdir.c
index b654fa24..9f860a91 100644
--- a/procfs/rootdir.c
+++ b/procfs/rootdir.c
@@ -254,7 +254,7 @@ rootdir_gc_loadavg (void *hook, char **contents, ssize_t *contents_len)
if (err)
return err;
- assert (cnt == HOST_LOAD_INFO_COUNT);
+ assert_backtrace (cnt == HOST_LOAD_INFO_COUNT);
*contents_len = asprintf (contents,
"%.2f %.2f %.2f 1/0 0\n",
hli.avenrun[0] / (double) LOAD_SCALE,
@@ -301,7 +301,7 @@ rootdir_gc_meminfo (void *hook, char **contents, ssize_t *contents_len)
if (err)
goto out;
- assert (cnt == HOST_BASIC_INFO_COUNT);
+ assert_backtrace (cnt == HOST_BASIC_INFO_COUNT);
fprintf (m,
"MemTotal: %14lu kB\n"
"MemFree: %14lu kB\n"