1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/packaging/Mandrake/smbmount-sbin.patch
0001-01-01 00:00:00 +00:00

16 lines
654 B
Diff

+++ 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) );