summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2013-01-17 21:10:25 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2013-01-17 21:10:25 +0000
commitbd9f6b6c19a153baa8e2869bf46e5af821a282b2 (patch)
treeeaabefaa5d0bb247e1275f767a17a9e91dbc4ab5 /usr.bin
parenta0e017582686154cb31f161aa21c795a274f089e (diff)
Fix a couple of spacing/style nits.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cu/cu.c4
-rw-r--r--usr.bin/cu/xmodem.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/cu/cu.c b/usr.bin/cu/cu.c
index 052407e8e51..3c65abc02ee 100644
--- a/usr.bin/cu/cu.c
+++ b/usr.bin/cu/cu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cu.c,v 1.12 2013/01/17 11:15:22 nicm Exp $ */
+/* $OpenBSD: cu.c,v 1.13 2013/01/17 21:10:24 nicm Exp $ */
/*
* Copyright (c) 2012 Nicholas Marriott <nicm@openbsd.org>
@@ -154,7 +154,7 @@ main(int argc, char **argv)
NULL);
bufferevent_enable(line_ev, EV_READ|EV_WRITE);
- printf("Connected (speed %u)\r\n", speed);
+ printf("Connected (speed %d)\r\n", speed);
event_dispatch();
restore_termios();
diff --git a/usr.bin/cu/xmodem.c b/usr.bin/cu/xmodem.c
index 3456e80d953..52fe22a7027 100644
--- a/usr.bin/cu/xmodem.c
+++ b/usr.bin/cu/xmodem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xmodem.c,v 1.3 2012/11/21 19:48:49 nicm Exp $ */
+/* $OpenBSD: xmodem.c,v 1.4 2013/01/17 21:10:24 nicm Exp $ */
/*
* Copyright (c) 2012 Nicholas Marriott <nicm@openbsd.org>
@@ -150,7 +150,7 @@ xmodem_send(const char *file)
if (i == XMODEM_RETRIES) {
cu_warnx("%s: too many retries", file);
goto out;
- };
+ }
if (len < XMODEM_BLOCK)
break;
@@ -173,5 +173,5 @@ out:
sigaction(SIGINT, &oact, NULL);
- fclose (f);
+ fclose(f);
}