aboutsummaryrefslogtreecommitdiff
path: root/src/xz/args.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2011-04-09 15:11:13 +0300
committerLasse Collin <lasse.collin@tukaani.org>2011-04-09 15:11:13 +0300
commit335fe260a81f61ec99ff5940df733b4c50aedb7c (patch)
tree4209ce7dcdf376be695417e3e3a500e006cf7871 /src/xz/args.c
parentxz: Change size_t to uint32_t in a few places. (diff)
downloadxz-335fe260a81f61ec99ff5940df733b4c50aedb7c.tar.xz
xz: Minor internal changes to handling of --threads.
Now it always defaults to one thread. Maybe this will change again if a threading method is added that doesn't affect memory usage.
Diffstat (limited to 'src/xz/args.c')
-rw-r--r--src/xz/args.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xz/args.c b/src/xz/args.c
index f207e7f4..17ac0609 100644
--- a/src/xz/args.c
+++ b/src/xz/args.c
@@ -179,8 +179,8 @@ parse_real(args_info *args, int argc, char **argv)
break;
case 'T':
- hardware_threadlimit_set(str_to_uint64(
- "threads", optarg, 0, UINT32_MAX));
+ hardware_threads_set(str_to_uint64("threads",
+ optarg, 0, LZMA_THREADS_MAX));
break;
// --version