summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-04-24 16:45:32 +0000
committernicm <nicm@openbsd.org>2015-04-24 16:45:32 +0000
commit536923c534143069471372dbb71ea657b5346c9c (patch)
tree74e5e3d49e376dc5e38db31a7a5298d7fecb0c61
parentUse symbolic constants for st_mode flags, no binary change. (diff)
downloadwireguard-openbsd-536923c534143069471372dbb71ea657b5346c9c.tar.xz
wireguard-openbsd-536923c534143069471372dbb71ea657b5346c9c.zip
Add a couple of missing spaces (style nits).
-rw-r--r--usr.bin/file/magic-load.c8
-rw-r--r--usr.bin/file/text.c4
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/file/magic-load.c b/usr.bin/file/magic-load.c
index 29455141d57..5f3d1f150bd 100644
--- a/usr.bin/file/magic-load.c
+++ b/usr.bin/file/magic-load.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: magic-load.c,v 1.1 2015/04/24 16:24:11 nicm Exp $ */
+/* $OpenBSD: magic-load.c,v 1.2 2015/04/24 16:45:32 nicm Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
@@ -864,10 +864,10 @@ fail:
static void
magic_free_line(struct magic_line *ml)
{
- free((void*)ml->type_string);
+ free((void *)ml->type_string);
- free((void*)ml->mimetype);
- free((void*)ml->result);
+ free((void *)ml->mimetype);
+ free((void *)ml->result);
free(ml);
}
diff --git a/usr.bin/file/text.c b/usr.bin/file/text.c
index f835c50cee0..c027a49c815 100644
--- a/usr.bin/file/text.c
+++ b/usr.bin/file/text.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: text.c,v 1.1 2015/04/24 16:24:11 nicm Exp $ */
+/* $OpenBSD: text.c,v 1.2 2015/04/24 16:45:32 nicm Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
@@ -138,7 +138,7 @@ text_try_words(const void *base, size_t size, int flags)
size_t wordlen;
u_int i;
- end = (char*)base + size;
+ end = (char *)base + size;
for (cp = base; cp != end; /* nothing */) {
while (cp != end && isspace((u_char)*cp))
cp++;