Module Name: src
Committed By: joerg
Date: Fri Nov 23 02:57:57 UTC 2012
Modified Files:
src/usr.bin/nbperf: nbperf-bdz.c
Log Message:
Adding missing new lines in output.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.bin/nbperf/nbperf-bdz.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/nbperf/nbperf-bdz.c
diff -u src/usr.bin/nbperf/nbperf-bdz.c:1.5 src/usr.bin/nbperf/nbperf-bdz.c:1.6
--- src/usr.bin/nbperf/nbperf-bdz.c:1.5 Tue Sep 25 20:53:46 2012
+++ src/usr.bin/nbperf/nbperf-bdz.c Fri Nov 23 02:57:57 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: nbperf-bdz.c,v 1.5 2012/09/25 20:53:46 joerg Exp $ */
+/* $NetBSD: nbperf-bdz.c,v 1.6 2012/11/23 02:57:57 joerg Exp $ */
/*-
* Copyright (c) 2009, 2012 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -36,7 +36,7 @@
#endif
#include <sys/cdefs.h>
-__RCSID("$NetBSD: nbperf-bdz.c,v 1.5 2012/09/25 20:53:46 joerg Exp $");
+__RCSID("$NetBSD: nbperf-bdz.c,v 1.6 2012/11/23 02:57:57 joerg Exp $");
#include <err.h>
#include <inttypes.h>
@@ -227,12 +227,12 @@ print_hash(struct nbperf *nbperf, struct
state->graph.v);
fprintf(nbperf->output,
- "\tidx = 9 + ((g1[h[0] >> 6] >> (h[0] & 63)) &1)"
- "\t + ((g1[h[1] >> 6] >> (h[1] & 63)) & 1)"
- "\t + ((g1[h[2] >> 6] >> (h[2] & 63)) & 1)"
- "\t - ((g2[h[0] >> 6] >> (h[0] & 63)) & 1)"
- "\t - ((g2[h[1] >> 6] >> (h[1] & 63)) & 1)"
- "\t - ((g2[h[2] >> 6] >> (h[2] & 63)) & 1);"
+ "\tidx = 9 + ((g1[h[0] >> 6] >> (h[0] & 63)) &1)\n"
+ "\t + ((g1[h[1] >> 6] >> (h[1] & 63)) & 1)\n"
+ "\t + ((g1[h[2] >> 6] >> (h[2] & 63)) & 1)\n"
+ "\t - ((g2[h[0] >> 6] >> (h[0] & 63)) & 1)\n"
+ "\t - ((g2[h[1] >> 6] >> (h[1] & 63)) & 1)\n"
+ "\t - ((g2[h[2] >> 6] >> (h[2] & 63)) & 1);\n"
);
fprintf(nbperf->output,