fix tmpfs size setting

Broken since c35857cff2 commit.

Signed-off-by: Vladimir Rutsky <rutsky@google.com>
This commit is contained in:
Vladimir Rutsky 2018-01-08 01:36:12 +01:00
parent 6e3993b9ca
commit f8a8506996

View File

@ -666,7 +666,7 @@ bool cmdlineParse(int argc, char* argv[], struct nsjconf_t* nsjconf) {
}; break;
case 'T': {
if (!mountAddMountPtTail(nsjconf, /* src= */ NULL, optarg, "tmpfs",
/* options= */ "", /* flags= */ 0, /* isDir= */ NS_DIR_YES,
/* options= */ cmdlineTmpfsSz, /* flags= */ 0, /* isDir= */ NS_DIR_YES,
/* mandatory= */ true, NULL, NULL, NULL, 0,
/* is_symlink= */ false)) {
return false;