summaryrefslogtreecommitdiffstats
path: root/bin/mv
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-02-02 07:09:30 +0000
committerimp <imp@FreeBSD.org>2002-02-02 07:09:30 +0000
commit1733865f6261d9a4df0074ead9bd2765d19c31cf (patch)
treea4c6f8b7563b45ce31e51e2d863d5464dece65ea /bin/mv
parent0496eb97bd3685c350b518a1271ae6ecaf15f8de (diff)
downloadFreeBSD-src-1733865f6261d9a4df0074ead9bd2765d19c31cf.zip
FreeBSD-src-1733865f6261d9a4df0074ead9bd2765d19c31cf.tar.gz
missed a few registers
Diffstat (limited to 'bin/mv')
-rw-r--r--bin/mv/mv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/mv/mv.c b/bin/mv/mv.c
index 8b2ef92..8a2fb2b 100644
--- a/bin/mv/mv.c
+++ b/bin/mv/mv.c
@@ -76,8 +76,8 @@ void usage(void);
int
main(int argc, char *argv[])
{
- register int baselen, len, rval;
- register char *p, *endp;
+ int baselen, len, rval;
+ char *p, *endp;
struct stat sb;
int ch;
char path[PATH_MAX];
@@ -234,7 +234,7 @@ fastcopy(char *from, char *to, struct stat *sbp)
static u_int blen;
static char *bp;
mode_t oldmode;
- register int nread, from_fd, to_fd;
+ int nread, from_fd, to_fd;
if ((from_fd = open(from, O_RDONLY, 0)) < 0) {
warn("%s", from);
OpenPOWER on IntegriCloud