From: Petr Uzel <petr.uzel@suse.cz>
To: util-linux <util-linux@vger.kernel.org>
Subject: [PATCH 1/2] blkid: use symbolic exit code
Date: Wed, 16 May 2012 10:38:31 +0200 [thread overview]
Message-ID: <1337157512-31920-1-git-send-email-petr.uzel@suse.cz> (raw)
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
---
misc-utils/blkid.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/misc-utils/blkid.c b/misc-utils/blkid.c
index 8007840..4f7050f 100644
--- a/misc-utils/blkid.c
+++ b/misc-utils/blkid.c
@@ -720,7 +720,7 @@ int main(int argc, char **argv)
while (blkid_superblocks_get_name(idx++, &name, NULL) == 0)
printf("%s\n", name);
- exit(0);
+ exit(EXIT_SUCCESS);
}
case 'o':
if (!strcmp(optarg, "value"))
--
1.7.7
next reply other threads:[~2012-05-16 8:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-16 8:38 Petr Uzel [this message]
2012-05-16 8:38 ` [PATCH 2/2] blkid: introduce symbolic names for different blkid exit codes Petr Uzel
2012-05-16 8:52 ` Voelker, Bernhard
2012-05-16 9:24 ` Petr Uzel
2012-05-16 10:13 ` Karel Zak
2012-05-16 11:18 ` Voelker, Bernhard
2012-05-17 7:37 ` [PATCH] blkid: stop device probing if error is detected Petr Uzel
2012-05-23 7:46 ` Karel Zak
2012-05-23 7:46 ` [PATCH 2/2] blkid: introduce symbolic names for different blkid exit codes Karel Zak
2012-05-23 7:45 ` [PATCH 1/2] blkid: use symbolic exit code 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=1337157512-31920-1-git-send-email-petr.uzel@suse.cz \
--to=petr.uzel@suse.cz \
--cc=util-linux@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;
as well as URLs for NNTP newsgroup(s).