mirror of
https://github.com/void-linux/void-packages.git
synced 2025-10-11 21:15:12 +02:00
13 lines
317 B
Diff
13 lines
317 B
Diff
SCOPE_DELIMITER not defined in musl
|
|
|
|
--- a/src/nvme/fabrics.c
|
|
+++ b/src/nvme/fabrics.c
|
|
@@ -325,7 +325,7 @@
|
|
nvme_msg(r, LOG_ERR, "cannot copy: %s\n", src);
|
|
|
|
const char *scope = NULL;
|
|
- char *p = strchr(tmp, SCOPE_DELIMITER);
|
|
+ char *p = strchr(tmp, '%');
|
|
if (p) {
|
|
*p = '\0';
|
|
scope = src + (p - tmp) + 1;
|