Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/selinux/load_policy.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 1  Line 1 
1  /*  /*
2   * load_policy   * load_policy
3   * Author: Yuichi Nakamura <ynakam@hitachisoft.jp>   * Author: Yuichi Nakamura <ynakam@hitachisoft.jp>
4     *
5     * Licensed under GPLv2, see file LICENSE in this tarball for details.
6   */   */
7  #include "libbb.h"  #include "libbb.h"
8    
9  int load_policy_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;  int load_policy_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
10  int load_policy_main(int argc, char **argv UNUSED_PARAM)  int load_policy_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
11  {  {
12   int rc;   int rc;
13    
14   if (argc != 1) {   if (argv[1]) {
15   bb_show_usage();   bb_show_usage();
16   }   }
17    

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