$NetBSD: patch-ah,v 1.2 2001/04/19 20:51:32 jtb Exp $ --- src/grdreformat.c.orig Thu Apr 19 18:02:08 2001 +++ src/grdreformat.c @@ -86,7 +86,7 @@ GMT_explain_option ('V'); fprintf (stderr, " The following formats are supported\n\n"); - sprintf (line, "%s%cshare%cgmtformats.d\0", GMTHOME, DIR_DELIM, DIR_DELIM); + sprintf (line, "%s%cshare%cgmt%cgmtformats.d\0", GMTHOME, DIR_DELIM, DIR_DELIM, DIR_DELIM); if ((fp = fopen (line, "r")) == NULL) { fprintf (stderr, "%s: GMT ERROR: Cannot read file %s\n", GMT_program, line); exit (EXIT_FAILURE);