diff options
author | Namhyung Kim <namhyung@gmail.com> | 2015-08-01 00:44:07 +0900 |
---|---|---|
committer | Namhyung Kim <namhyung@gmail.com> | 2015-08-01 02:20:47 +0900 |
commit | cbfa6a41317b72553433f4ebe250dd0d34bf058f (patch) | |
tree | 323fdcdf3b7256ea615dbdcbfd13e5216d1c960f /src/basic/sparse-endian.h | |
parent | d28ebe27f2f77264a4090ae6566d3eaa407151ea (diff) |
busctl: fix assertion failure on --size option
Using --size option triggers an assert failure below because
parse_size() requires the second argument, base, being either 1000 or
1024. As it's for a packet size, it'd be better using IEC binary
suffix (base 1024) IMHO.
$ busctl --size 2048
Assertion 'base == 1000 || base == 1024' failed at src/basic/util.c:2222,
function parse_size(). Aborting.
Aborted (core dumped)
Diffstat (limited to 'src/basic/sparse-endian.h')
0 files changed, 0 insertions, 0 deletions