Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/util-linux/swaponoff.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 983 by niro, Fri Apr 24 18:33:46 2009 UTC revision 984 by niro, Sun May 30 11:32:42 2010 UTC
# Line 11  Line 11 
11  #include <mntent.h>  #include <mntent.h>
12  #include <sys/swap.h>  #include <sys/swap.h>
13    
14    #if ENABLE_FEATURE_MOUNT_LABEL
15    # include "volume_id.h"
16    #else
17    # define resolve_mount_spec(fsname) ((void)0)
18    #endif
19    
20  #if ENABLE_FEATURE_SWAPON_PRI  #if ENABLE_FEATURE_SWAPON_PRI
21  struct globals {  struct globals {
22   int flags;   int flags;
# Line 26  static int swap_enable_disable(char *dev Line 32  static int swap_enable_disable(char *dev
32   int status;   int status;
33   struct stat st;   struct stat st;
34    
35     resolve_mount_spec(&device);
36   xstat(device, &st);   xstat(device, &st);
37    
38  #if ENABLE_DESKTOP  #if ENABLE_DESKTOP

Legend:
Removed from v.983  
changed lines
  Added in v.984