Skip to content

Commit 5a5e4e3

Browse files
authored
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.
1 parent 076f815 commit 5a5e4e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

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

0 commit comments

Comments
 (0)