1 commit 2473c5e01ea14fae96c157d8bce3a3ec1da124f3
2 Author: Maxim Storchak <m.storchak@gmail.com>
3 Date: Sat Dec 9 15:21:51 2017 +0200
5 Replace canonicalize_file_name with realpath equivalent
7 diff --git a/os_linux.cpp b/os_linux.cpp
8 index 134d5bc..0575a13 100644
11 @@ -3176,7 +3176,7 @@ static bool is_hpsa(const char * name)
14 snprintf(path, sizeof(path), "/sys/block/%s/device", name);
15 - char * syshostpath = canonicalize_file_name(path);
16 + char * syshostpath = realpath(path, NULL);