summaryrefslogtreecommitdiffstats
path: root/usr.bin/sort
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/sort')
-rw-r--r--usr.bin/sort/bwstring.c2
-rw-r--r--usr.bin/sort/coll.c2
-rw-r--r--usr.bin/sort/file.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/sort/bwstring.c b/usr.bin/sort/bwstring.c
index fc30b56..3965eae 100644
--- a/usr.bin/sort/bwstring.c
+++ b/usr.bin/sort/bwstring.c
@@ -297,7 +297,7 @@ bwscsbdup(const unsigned char *str, size_t len)
/* NOTREACHED */
err(2, "mbrtowc error");
cptr += charlen;
- };
+ }
}
ret->len = chars;
diff --git a/usr.bin/sort/coll.c b/usr.bin/sort/coll.c
index 0b7eb57..7b4ad10 100644
--- a/usr.bin/sort/coll.c
+++ b/usr.bin/sort/coll.c
@@ -688,7 +688,7 @@ static void setsuffix(wchar_t c, unsigned char *si)
break;
default:
*si = 0;
- };
+ }
}
/*
diff --git a/usr.bin/sort/file.c b/usr.bin/sort/file.c
index 0a00889..47d59af 100644
--- a/usr.bin/sort/file.c
+++ b/usr.bin/sort/file.c
@@ -1258,7 +1258,7 @@ sort_list_to_file(struct sort_list *list, const char *outfile)
break;
default:
errx(2, "%s", getstr(10));
- };
+ }
}
if (sort_opts_vals.sort_method == SORT_DEFAULT)
OpenPOWER on IntegriCloud