public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: STABLE3 - gfs2: add missing casts
@ 2009-06-23 5:07 Fabio M. Di Nitto
0 siblings, 0 replies; only message in thread
From: Fabio M. Di Nitto @ 2009-06-23 5:07 UTC (permalink / raw)
To: cluster-cvs-relay
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=466ba107628d4e89838fdf97cec8c3efea35ff0e
Commit: 466ba107628d4e89838fdf97cec8c3efea35ff0e
Parent: 4560936d9bf571930942419015dce0dec16285b4
Author: Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate: Tue Jun 23 07:07:09 2009 +0200
Committer: Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Tue Jun 23 07:07:09 2009 +0200
gfs2: add missing casts
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
gfs2/mkfs/main_mkfs.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/gfs2/mkfs/main_mkfs.c b/gfs2/mkfs/main_mkfs.c
index 9ac9645..eaf1fff 100644
--- a/gfs2/mkfs/main_mkfs.c
+++ b/gfs2/mkfs/main_mkfs.c
@@ -342,7 +342,11 @@ static void check_dev_content(const char *devname)
{
struct sigaction sa;
char content[1024] = { 0, };
- char * args[] = { "/usr/bin/file", "-bs", (char *)devname, NULL };
+ char * args[] = {
+ (char *)"/usr/bin/file",
+ (char *)"-bs",
+ (char *)devname,
+ NULL };
int p[2];
int ret;
int pid;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-06-23 5:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-23 5:07 cluster: STABLE3 - gfs2: add missing casts Fabio M. Di Nitto
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 read-only IMAP folder(s) and NNTP newsgroup(s).