Changeset 2725 in MondoRescue for branches/2.2.9/mindi-busybox/selinux/getsebool.c
- Timestamp:
- Feb 25, 2011, 9:26:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi-busybox/selinux/getsebool.c
r1765 r2725 5 5 * Port to BusyBox Hiroshi Shinji <shiroshi@my.email.ne.jp> 6 6 * 7 * Licensed under GPLv2, see file LICENSE in this source tree. 7 8 */ 8 9 9 10 #include "libbb.h" 10 11 11 int getsebool_main(int argc, char **argv) ;12 int getsebool_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 12 13 int getsebool_main(int argc, char **argv) 13 14 { … … 25 26 rc = security_get_boolean_names(&names, &len); 26 27 if (rc) 27 bb_perror_msg_and_die("can not get boolean names");28 bb_perror_msg_and_die("can't get boolean names"); 28 29 29 30 if (!len) { … … 54 55 if (pending != active) 55 56 printf(" pending: %s", (pending ? "on" : "off")); 56 putchar('\n');57 bb_putchar('\n'); 57 58 } 58 59
Note:
See TracChangeset
for help on using the changeset viewer.