summaryrefslogtreecommitdiff
path: root/packaging/Mandrake/smbmount-sbin.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/Mandrake/smbmount-sbin.patch')
-rw-r--r--packaging/Mandrake/smbmount-sbin.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/packaging/Mandrake/smbmount-sbin.patch b/packaging/Mandrake/smbmount-sbin.patch
new file mode 100644
index 0000000000..b638720813
--- /dev/null
+++ b/packaging/Mandrake/smbmount-sbin.patch
@@ -0,0 +1,15 @@
++++ samba-2.2.1/source/client/smbmount.c Sun Apr 15 01:03:46 2001
+--- samba-2.2.1/source/client/smbmount.c.seb Mon Jun 11 14:26:23 2001
+@@ -484,9 +484,9 @@
+ }
+
+ if (sys_fork() == 0) {
+- if (file_exist(BINDIR "/smbmnt", NULL)) {
+- execv(BINDIR "/smbmnt", args);
+- fprintf(stderr,"execv of %s failed. Error was %s.", BINDIR "/smbmnt", strerror(errno));
++ if (file_exist(SBINDIR "/smbmnt", NULL)) {
++ execv(SBINDIR "/smbmnt", args);
++ fprintf(stderr,"execv of %s failed. Error was %s.", SBINDIR "/smbmnt", strerror(errno));
+ } else {
+ execvp("smbmnt", args);
+ fprintf(stderr,"execvp of smbmnt failed. Error was %s.", strerror(errno) );