From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Peterson Date: Tue, 01 May 2007 09:19:21 -0500 Subject: [Cluster-devel] Re: [PATCH] gfs2/mkfs/main.c: fix exit code In-Reply-To: <46374BEB.30202@ubuntu.com> References: <46374BEB.30202@ubuntu.com> Message-ID: <46374C69.5030200@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Fabio Massimo Di Nitto wrote: > When Robert mentioned gfs2_grow/_shrink in one of his previous emails, > I decided to go digging a bit more and found a very trivial error. > > Please apply or acknowledge and i will apply. > > Thanks > Fabio > > > > ------------------------------------------------------------------------ > > #! /bin/sh /usr/share/dpatch/dpatch-run > ## 002_fix_gfs2_mkfs_exit.dpatch by > ## > ## All lines beginning with `## DP:' are a description of the patch. > ## DP: No description. > > @DPATCH@ > diff -urNad redhat-cluster-suite-2.20070430~/gfs2/mkfs/main.c redhat-cluster-suite-2.20070430/gfs2/mkfs/main.c > --- redhat-cluster-suite-2.20070430~/gfs2/mkfs/main.c 2006-07-11 00:51:10.000000000 +0200 > +++ redhat-cluster-suite-2.20070430/gfs2/mkfs/main.c 2007-05-01 16:16:46.000000000 +0200 > @@ -58,9 +58,10 @@ > main_grow(argc, argv); > else if (!strcmp(whoami, "gfs2_shrink")) > main_shrink(argc, argv); > +#endif > else > die("I don't know who I am!\n"); > -#endif > + > free(p); > > return EXIT_SUCCESS; ACK Bob Peterson Red Hat Cluster Suite