Mercurial > octave
diff scripts/pkg/pkg.m @ 11588:d5bd2766c640
style fixes for warning and error messages in script files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Jan 2011 17:51:13 -0500 |
parents | c792872f8942 |
children | b0084095098e |
line wrap: on
line diff
--- a/scripts/pkg/pkg.m Thu Jan 20 17:35:29 2011 -0500 +++ b/scripts/pkg/pkg.m Thu Jan 20 17:51:13 2011 -0500 @@ -1886,7 +1886,7 @@ ## Write INDEX. fid = fopen (index_file, "w"); if (fid == -1) - error ("couldn't open %s for writing.", index_file); + error ("couldn't open %s for writing", index_file); endif fprintf (fid, "%s >> %s\n", desc.name, desc.title); fprintf (fid, "%s\n", categories{1});