From 5a5e4e303629d49bc09a2ef2614c1e0374c23dfb Mon Sep 17 00:00:00 2001 From: sblondon Date: Thu, 28 Oct 2021 15:01:36 +0200 Subject: [PATCH] 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. --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index cdb1b82a..cf984c6b 100644 --- a/readme.md +++ b/readme.md @@ -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: