summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Larson <mike@vyatta.com>2010-11-16 15:48:54 -0800
committerMichael Larson <mike@vyatta.com>2010-11-16 15:48:54 -0800
commitaced92cae4944d14c99374034f95fa570ce1769e (patch)
treef51c5a55816eb7e0c84ff9e1660aa525b2de35a3
parent8c55b0bd88227949ee63c88acb6c001089b3954e (diff)
downloadvyatta-cfg-aced92cae4944d14c99374034f95fa570ce1769e.tar.gz
vyatta-cfg-aced92cae4944d14c99374034f95fa570ce1769e.zip
modified output to match spec on error location.
-rw-r--r--src/commit2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commit2.c b/src/commit2.c
index 6d2270d..83236cd 100644
--- a/src/commit2.c
+++ b/src/commit2.c
@@ -1481,7 +1481,7 @@ validate_func(GNode *node, gpointer data)
char *p = clind_unescape(path_buf);
if (strlen(outbuf) > 0) {
if (g_print_error_location_all == TRUE) {
- fprintf(out_stream,"_errloc_:[ %s ] \n %s\n",p,outbuf);
+ fprintf(out_stream,"_errloc_:[%s]\n %s\n",p,outbuf);
}
else {
fprintf(out_stream,"[ %s ] \n %s\n",p,outbuf);