git://git.jankratochvil.net
/
captive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
a2dd38f
)
+captive_standalone_init();
author
lace
<>
Sun, 25 Dec 2005 17:18:16 +0000
(17:18 +0000)
committer
lace
<>
Sun, 25 Dec 2005 17:18:16 +0000
(17:18 +0000)
src/client/fuse/fusermount.c
patch
|
blob
|
history
diff --git
a/src/client/fuse/fusermount.c
b/src/client/fuse/fusermount.c
index
8d5562e
..
d7dee7e
100644
(file)
--- a/
src/client/fuse/fusermount.c
+++ b/
src/client/fuse/fusermount.c
@@
-39,6
+39,9
@@
#include <sys/utsname.h>
#include <sys/sysmacros.h>
#include <sys/utsname.h>
#include <sys/sysmacros.h>
+/* Captive */
+#include <captive/client.h>
+
#define FUSE_COMMFD_ENV "_FUSE_COMMFD"
#define FUSE_DEV_OLD "/proc/fs/fuse/dev"
#define FUSE_COMMFD_ENV "_FUSE_COMMFD"
#define FUSE_DEV_OLD "/proc/fs/fuse/dev"
@@
-1049,6
+1052,9
@@
int main(int argc, char *argv[])
{"version", no_argument, NULL, 'v'},
{0, 0, 0, 0}};
{"version", no_argument, NULL, 'v'},
{0, 0, 0, 0}};
+ /* Captive */
+ captive_standalone_init();
+
progname = strdup(argv[0]);
if (progname == NULL) {
fprintf(stderr, "%s: failed to allocate memory\n", argv[0]);
progname = strdup(argv[0]);
if (progname == NULL) {
fprintf(stderr, "%s: failed to allocate memory\n", argv[0]);