commit f24056c13013f652a5c613af3f3618fd45c715fe
parent d6e5c080a23fcb914b740db48573305f3712eba0
Author: Christoph Lohmann <20h@r-36.net>
Date: Fri, 25 Feb 2011 19:36:50 +0100
Fixing a compiler warning and a spurious empty line.
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/9vx/stub.c b/src/9vx/stub.c
@@ -524,9 +524,8 @@ talktome(void)
while (fgets(cmd, sizeof(cmd), stdin)) {
if (! strcmp(cmd, "mach")) {
for(i = 0; i < MAXMACH; i++) {
- fprintf(stderr, "%d ", MACHP(i)->splpc);
+ fprintf(stderr, "%ld ", MACHP(i)->splpc);
}
-
}
}
fprintf(stderr, "We're done talking\n");