]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
unshare: tweak style
authorMike Frysinger <vapier@gentoo.org>
Fri, 1 Mar 2013 04:03:02 +0000 (23:03 -0500)
committerKarel Zak <kzak@redhat.com>
Mon, 4 Mar 2013 11:28:37 +0000 (12:28 +0100)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
sys-utils/unshare.c

index 2eea165b84c75c750c551d886c09093804aaa71f..8cc9c46c8435279b0f26d3e620940b7348150fb0 100644 (file)
@@ -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) {