Fix preload path in documentation example

The .so files are usually in `/usr/lib`, not `/usr/bin`. The updated path is the same as below in the text.
This commit is contained in:
sblondon
2021-10-28 15:01:36 +02:00
committed by GitHub
parent 076f815cec
commit 5a5e4e3036

View File

@@ -18,7 +18,7 @@ Latest stable tag: `v1.7.2` (2021-06-17).
mimalloc is a drop-in replacement for `malloc` and can be used in other programs
without code changes, for example, on dynamically linked ELF-based systems (Linux, BSD, etc.) you can use it as:
```
> LD_PRELOAD=/usr/bin/libmimalloc.so myprogram
> LD_PRELOAD=/usr/lib/libmimalloc.so myprogram
```
It also has an easy way to override the default allocator in [Windows](#override_on_windows). Notable aspects of the design include: