fix for CR 1603; provide description of NT_STATUS_PIPE_NOT_AVAILABLE
[Samba.git] / packaging / Mandrake / smbmount-sbin.patch
blobb6387208134ef1be3beeed10254f866910f8767d
1 +++ samba-2.2.1/source/client/smbmount.c Sun Apr 15 01:03:46 2001
2 --- samba-2.2.1/source/client/smbmount.c.seb Mon Jun 11 14:26:23 2001
3 @@ -484,9 +484,9 @@
6 if (sys_fork() == 0) {
7 - if (file_exist(BINDIR "/smbmnt", NULL)) {
8 - execv(BINDIR "/smbmnt", args);
9 - fprintf(stderr,"execv of %s failed. Error was %s.", BINDIR "/smbmnt", strerror(errno));
10 + if (file_exist(SBINDIR "/smbmnt", NULL)) {
11 + execv(SBINDIR "/smbmnt", args);
12 + fprintf(stderr,"execv of %s failed. Error was %s.", SBINDIR "/smbmnt", strerror(errno));
13 } else {
14 execvp("smbmnt", args);
15 fprintf(stderr,"execvp of smbmnt failed. Error was %s.", strerror(errno) );