Fix syntax error in sort(1)
Somehow went unnoticed...
This commit is contained in:
parent
4750b233ce
commit
df8529f0a1
2
sort.c
2
sort.c
|
@ -114,7 +114,7 @@ linecmp(const char **a, const char **b)
|
||||||
static int
|
static int
|
||||||
parse_flags(char **s, int *flags, int bflag)
|
parse_flags(char **s, int *flags, int bflag)
|
||||||
{
|
{
|
||||||
while (isalpha((int)**s))
|
while (isalpha((int)**s)) {
|
||||||
switch (*((*s)++)) {
|
switch (*((*s)++)) {
|
||||||
case 'b':
|
case 'b':
|
||||||
*flags |= bflag;
|
*flags |= bflag;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user