From: Mike Frysinger <vapier@gentoo.org>
To: util-linux-ng@vger.kernel.org
Subject: [PATCH 2/2] unshare: tweak style
Date: Thu, 28 Feb 2013 23:03:02 -0500 [thread overview]
Message-ID: <1362110582-23406-2-git-send-email-vapier@gentoo.org> (raw)
In-Reply-To: <1362110582-23406-1-git-send-email-vapier@gentoo.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
sys-utils/unshare.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sys-utils/unshare.c b/sys-utils/unshare.c
index 2eea165..8cc9c46 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) {
--
1.8.1.2
next prev parent reply other threads:[~2013-03-01 4:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-01 4:03 [PATCH 1/2] unshare(1): delete empty NOTES section Mike Frysinger
2013-03-01 4:03 ` Mike Frysinger [this message]
2013-03-04 11:31 ` [PATCH 2/2] unshare: tweak style Karel Zak
2013-03-04 11:31 ` [PATCH 1/2] unshare(1): delete empty NOTES section Karel Zak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1362110582-23406-2-git-send-email-vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=util-linux-ng@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox