diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-04-17 22:59:53 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-04-17 22:59:53 +0000 |
commit | 7d8c8f8b00a34baadfd02dfd098f864591253716 (patch) | |
tree | c10d1485869e70c3ce98bb47686e8d210e2b2f6a /perl-install/swap.pm | |
parent | 4ac24b5f0541ab6a18278a12aeb1cb10bf61c27f (diff) | |
download | drakx-backup-do-not-use-7d8c8f8b00a34baadfd02dfd098f864591253716.tar drakx-backup-do-not-use-7d8c8f8b00a34baadfd02dfd098f864591253716.tar.gz drakx-backup-do-not-use-7d8c8f8b00a34baadfd02dfd098f864591253716.tar.bz2 drakx-backup-do-not-use-7d8c8f8b00a34baadfd02dfd098f864591253716.tar.xz drakx-backup-do-not-use-7d8c8f8b00a34baadfd02dfd098f864591253716.zip |
no_comment
Diffstat (limited to 'perl-install/swap.pm')
-rw-r--r-- | perl-install/swap.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/swap.pm b/perl-install/swap.pm index 17033f39f..c3d14e4b7 100644 --- a/perl-install/swap.pm +++ b/perl-install/swap.pm @@ -126,8 +126,10 @@ sub enable($;$) { } sub swapon($) { + log::l("swapon called with $_[0]"); syscall_('swapon', devices::make($_[0]), 0) or die "swapon($_[0]) failed: $!"; } + sub swapoff($) { syscall_('swapoff', devices::make($_[0])) or die "swapoff($_[0]) failed: $!"; } |