blob: ae23e6d7f18021a42502fca5c436ef1625d43575 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-aa,v 1.5 2012/10/21 11:04:42 shattered Exp $
--- tools/generic-callout.c.orig 2011-07-24 11:03:29.000000000 +0000
+++ tools/generic-callout.c
@@ -601,7 +601,12 @@ static char *mount_ipod (const char *dev
return NULL;
}
g_assert (tmpname == filename);
+#if !defined(__linux__)
+ result = -1;
+#else
result = mount (dev_path, tmpname, fstype, 0, NULL);
+#endif
+
if (result != 0) {
g_debug("failed to mount device %s at %s: %s",
dev_path, tmpname, strerror(errno));
|