summaryrefslogtreecommitdiff
path: root/user/smartmontools/musl-canonicalize_file_name.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/smartmontools/musl-canonicalize_file_name.patch')
-rw-r--r--user/smartmontools/musl-canonicalize_file_name.patch12
1 files changed, 0 insertions, 12 deletions
diff --git a/user/smartmontools/musl-canonicalize_file_name.patch b/user/smartmontools/musl-canonicalize_file_name.patch
deleted file mode 100644
index bdc7cc6f1..000000000
--- a/user/smartmontools/musl-canonicalize_file_name.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-# Ticket: https://smartmontools.org/ticket/921#ticket
---- a/os_linux.cpp
-+++ b/os_linux.cpp
-@@ -3176,7 +3176,7 @@
- {
- char path[128];
- snprintf(path, sizeof(path), "/sys/block/%s/device", name);
-- char * syshostpath = canonicalize_file_name(path);
-+ char * syshostpath = realpath(path, NULL);
- if (!syshostpath)
- return false;
-