aboutsummaryrefslogtreecommitdiffstats
path: root/fs/tabfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/tabfs.c')
-rw-r--r--fs/tabfs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/tabfs.c b/fs/tabfs.c
index 90895f2..84e9ce8 100644
--- a/fs/tabfs.c
+++ b/fs/tabfs.c
@@ -214,8 +214,7 @@ static struct fuse_operations tabfs_filesystem_operations = {
int main(int argc, char **argv) {
char* mountdir = getenv("TABFS_MOUNT_DIR");
if (mountdir == NULL) {
- mountdir = malloc(sizeof(char)*4);
- sprintf(mountdir, "mnt");
+ mountdir = "mnt";
}
char killcmd[1000];