tmpfs - Fix mount_tmpfs -C
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 16 Oct 2016 21:23:44 +0000 (14:23 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 16 Oct 2016 21:23:44 +0000 (14:23 -0700)
commitb93d6cf83513ec3fab0596971508fb79232443f2
tree078ab9ede3a8a4255b5603a1cf70ca2ba1f24579
parent9629eb3587b2cd563eccbd1eab0984b652f5dad5
tmpfs - Fix mount_tmpfs -C

* Fix mount_tmpfs -C.  FSCopy requires the contents of the pointer
  whos address is passed into it to be properly initialized (to NULL
  in this case).

* Fixes -O2 compilation of rtld & mount_tmpfs which were not problems
  with -O2 itself but instead changed the uninitialized garbage of the
  local variable we fixed above.

reported-by: zrj
sbin/mount_tmpfs/mount_tmpfs.c