diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-04-02 23:46:49 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-04-03 00:58:21 +0200 |
commit | 7c2da2ca8824693c7eeb83e4b22174c33b2a480a (patch) | |
tree | bba859da449a06e12197ed7f5d7ce8007141e1d0 /src/journal | |
parent | Add networkd-gperf.c to gitignore (diff) | |
download | systemd-7c2da2ca8824693c7eeb83e4b22174c33b2a480a.tar.xz systemd-7c2da2ca8824693c7eeb83e4b22174c33b2a480a.zip |
test-compress-benchmark: fix argument parsing on 32bit
The patch is not minimal, but a function to parse size_t is probably
going to come in handy in other places, so I think it's nicer to define
a proper parsing function than to open-code the cast.
Diffstat (limited to 'src/journal')
-rw-r--r-- | src/journal/test-compress-benchmark.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/test-compress-benchmark.c b/src/journal/test-compress-benchmark.c index 0ef6d36a50..6f6d71435d 100644 --- a/src/journal/test-compress-benchmark.c +++ b/src/journal/test-compress-benchmark.c @@ -164,7 +164,7 @@ int main(int argc, char *argv[]) { arg_duration = x * USEC_PER_SEC; } if (argc == 3) - (void) safe_atolu(argv[2], &arg_start); + (void) safe_atozu(argv[2], &arg_start); else arg_start = getpid(); |