summaryrefslogtreecommitdiff
path: root/libjava/gij.cc
diff options
context:
space:
mode:
authorfitzsim <fitzsim@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-15 02:40:02 +0000
committerfitzsim <fitzsim@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-15 02:40:02 +0000
commit1392b15e20d7c483d8ea8233fa2945dd6f89abe7 (patch)
tree279e5282b7c0f749c7a83537c544697fd65823d6 /libjava/gij.cc
parentc4ffdcdf45caadc3d0c905d22f326e89c4972eaa (diff)
downloadgcc-1392b15e20d7c483d8ea8233fa2945dd6f89abe7.tar.gz
2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
* gij.cc (version): Properly quote java version. (main): Fix typo in comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98166 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gij.cc')
-rw-r--r--libjava/gij.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/gij.cc b/libjava/gij.cc
index 6eee6b5a40a..010e72fb5fc 100644
--- a/libjava/gij.cc
+++ b/libjava/gij.cc
@@ -40,7 +40,7 @@ help ()
static void
version ()
{
- printf ("java version " JV_VERSION "\n");
+ printf ("java version \"" JV_VERSION "\"\n");
printf ("gij (GNU libgcj) version %s\n\n", __VERSION__);
printf ("Copyright (C) 2005 Free Software Foundation, Inc.\n");
printf ("This is free software; see the source for copying conditions. There is NO\n");
@@ -315,7 +315,7 @@ main (int argc, char const** argv)
}
// -jar mode overrides all other modes of specifying class path:
- // -CLASSPATH, -Djava.class.path, -classpath and -cp.
+ // CLASSPATH, -Djava.class.path, -classpath and -cp.
if (jar_mode)
{
char* darg = (char*) JvMalloc (strlen (argv[i])