aboutsummaryrefslogtreecommitdiff
path: root/lib/mount.c
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2005-02-02 11:14:04 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2005-02-02 11:14:04 +0000
commite5183747da2b268f53a9464fda5fd6b4856c62a4 (patch)
tree7c20708b5d28200464b31860da8f54eb2b989759 /lib/mount.c
parentff30a6cd43535ec318a26c1d3ec9c7edc268e9c9 (diff)
downloadlibfuse-e5183747da2b268f53a9464fda5fd6b4856c62a4.tar.gz
whitespace fixes
Diffstat (limited to 'lib/mount.c')
-rw-r--r--lib/mount.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mount.c b/lib/mount.c
index fb29f57..86ad2be 100644
--- a/lib/mount.c
+++ b/lib/mount.c
@@ -57,7 +57,7 @@ static int receive_fd(int fd)
/* EOF */
return -1;
}
-
+
cmsg = CMSG_FIRSTHDR(&msg);
if (!cmsg->cmsg_type == SCM_RIGHTS) {
fprintf(stderr, "got control message of unknown type %d\n",
@@ -71,10 +71,10 @@ void fuse_unmount(const char *mountpoint)
{
const char *mountprog = FUSERMOUNT_PROG;
char umount_cmd[1024];
-
+
snprintf(umount_cmd, sizeof(umount_cmd) - 1, "%s -u -q -z %s", mountprog,
mountpoint);
-
+
umount_cmd[sizeof(umount_cmd) - 1] = '\0';
system(umount_cmd);
}