cluster: STABLE3 - askant: prog_name is no longer required

Fabio M. Di Nitto fabbione@fedoraproject.org
Thu Feb 19 10:10:00 GMT 2009


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=2d807ba34b3e8b8b069874cdf0a42e590efe0049
Commit:        2d807ba34b3e8b8b069874cdf0a42e590efe0049
Parent:        c8d278b7b6ba74d6bf491b7994ab4b25b5841207
Author:        Andrew Price <andy@andrewprice.me.uk>
AuthorDate:    Tue Jan 27 23:19:04 2009 +0000
Committer:     Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Thu Feb 19 10:59:57 2009 +0100

askant: prog_name is no longer required

Remove the prog_name string which is no longer required by libgfs2

Signed-off-by: Andrew Price <andy@andrewprice.me.uk>
---
 contrib/askant/fsplugins/gfs2/gfs2.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/contrib/askant/fsplugins/gfs2/gfs2.c b/contrib/askant/fsplugins/gfs2/gfs2.c
index bac9c35..7a4d448 100644
--- a/contrib/askant/fsplugins/gfs2/gfs2.c
+++ b/contrib/askant/fsplugins/gfs2/gfs2.c
@@ -44,8 +44,7 @@ off_t max_seek;
 int fd;
 int flag_stop;
 
-/* prog_name and print_it() are needed to satisfy externs in libgfs2 */
-char *prog_name = "askant";
+/* print_it() is needed to satisfy an extern in libgfs2 */
 
 void print_it(const char *label, const char *fmt, const char *fmt2, ...)
 {



More information about the Cluster-cvs mailing list