From bd9f6b6c19a153baa8e2869bf46e5af821a282b2 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 17 Jan 2013 21:10:25 +0000 Subject: Fix a couple of spacing/style nits. --- usr.bin/cu/cu.c | 4 ++-- usr.bin/cu/xmodem.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'usr.bin/cu') 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 @@ -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 @@ -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); } -- cgit v1.2.3