summaryrefslogtreecommitdiffstats
path: root/sys-utils/unshare.c
diff options
context:
space:
mode:
authorMike Frysinger2013-03-01 05:03:02 +0100
committerKarel Zak2013-03-04 12:28:37 +0100
commit2eefe5170a4c4cc30d70ccfaa834af2a3c223b83 (patch)
tree8c99eb0474a5962684b393703065e961e113f2a9 /sys-utils/unshare.c
parentunshare(1): delete empty NOTES section (diff)
downloadkernel-qcow2-util-linux-2eefe5170a4c4cc30d70ccfaa834af2a3c223b83.tar.gz
kernel-qcow2-util-linux-2eefe5170a4c4cc30d70ccfaa834af2a3c223b83.tar.xz
kernel-qcow2-util-linux-2eefe5170a4c4cc30d70ccfaa834af2a3c223b83.zip
unshare: tweak style
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sys-utils/unshare.c')
-rw-r--r--sys-utils/unshare.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-utils/unshare.c b/sys-utils/unshare.c
index 2eea165b8..8cc9c46c8 100644
--- a/sys-utils/unshare.c
+++ b/sys-utils/unshare.c
@@ -78,8 +78,8 @@ int main(int argc, char *argv[])
textdomain(PACKAGE);
atexit(close_stdout);
- while((c = getopt_long(argc, argv, "hVmuinpU", longopts, NULL)) != -1) {
- switch(c) {
+ while ((c = getopt_long(argc, argv, "hVmuinpU", longopts, NULL)) != -1) {
+ switch (c) {
case 'h':
usage(EXIT_SUCCESS);
case 'V':
@@ -108,7 +108,7 @@ int main(int argc, char *argv[])
}
}
- if(-1 == unshare(unshare_flags))
+ if (-1 == unshare(unshare_flags))
err(EXIT_FAILURE, _("unshare failed"));
if (optind < argc) {