summaryrefslogtreecommitdiff
path: root/debian/patches/fix-get-children-source.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/fix-get-children-source.patch')
-rw-r--r--debian/patches/fix-get-children-source.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/patches/fix-get-children-source.patch b/debian/patches/fix-get-children-source.patch
index 9a538f20..53473203 100644
--- a/debian/patches/fix-get-children-source.patch
+++ b/debian/patches/fix-get-children-source.patch
@@ -962,7 +962,7 @@ index cf817b5..306a430 100644
/* Add the port class *CLASS to the list of control port classes recognized
by trivfs; if *CLASS is 0, an attempt is made to allocate a new port
diff --git a/nfs/main.c b/nfs/main.c
-index 3ce75a9..33cda67 100644
+index 3ce75a9..cd1c29a 100644
--- a/nfs/main.c
+++ b/nfs/main.c
@@ -269,6 +269,20 @@ netfs_append_args (char **argz, size_t *argz_len)
@@ -979,7 +979,7 @@ index 3ce75a9..33cda67 100644
+ if (! cred)
+ return EOPNOTSUPP;
+
-+ asprintf (source, source_len, "%s:%s", host, remote_fs);
++ snprintf (source, source_len, "%s:%s", host, remote_fs);
+ return 0;
+}
+