Fix the damned mount options

This commit is contained in:
Ryan Voots 2017-05-04 20:46:27 -07:00
parent 167b06fe77
commit 874bf2fbd6
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
Revision history for Sys::Linux::Namespaces
0.012 - May 4 2017
* Fix borken mount options
0.011 - May 4 2017
* Fix broken /proc mounting support
* Fixup tests to conform more to current BP

View file

@ -15,7 +15,7 @@ PROTOTYPES: ENABLE
SV *_mount_sys(const char *source, const char *target, const char *filesystem, unsigned long mountflags, const char *data)
CODE:
ST(0) = sv_newmortal();
sv_setiv(ST(0), mount(source, target, filesystem, mountflags, NULL));
sv_setiv(ST(0), mount(source, target, filesystem, mountflags, (void *) data));
SV *_umount_sys(const char *target)
CODE: