Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/filesystems/libblkid/files/patch-misc-utils_blkid.c
17780 views
1
--- misc-utils/blkid.c.orig 2025-06-24 07:55:28 UTC
2
+++ misc-utils/blkid.c
3
@@ -876,6 +876,7 @@ int main(int argc, char **argv)
4
else if (S_ISREG(sb.st_mode))
5
;
6
else if (S_ISCHR(sb.st_mode)) {
7
+#ifdef __linux__
8
char buf[PATH_MAX];
9
10
if (!sysfs_chrdev_devno_to_devname(
11
@@ -883,6 +884,7 @@ int main(int argc, char **argv)
12
continue;
13
if (strncmp(buf, "ubi", 3) != 0)
14
continue;
15
+#endif
16
} else
17
continue;
18
19
20