diff options
Diffstat (limited to 'coreutils/sum.c')
-rw-r--r-- | coreutils/sum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/sum.c b/coreutils/sum.c index 5799d142d..4a3760bb4 100644 --- a/coreutils/sum.c +++ b/coreutils/sum.c | |||
@@ -80,7 +80,7 @@ int sum_main(int argc, char **argv) | |||
80 | unsigned n; | 80 | unsigned n; |
81 | unsigned type = SUM_BSD; | 81 | unsigned type = SUM_BSD; |
82 | 82 | ||
83 | n = getopt32(argc, argv, "sr"); | 83 | n = getopt32(argv, "sr"); |
84 | if (n & 1) type = SUM_SYSV; | 84 | if (n & 1) type = SUM_SYSV; |
85 | /* give the bsd priority over sysv func */ | 85 | /* give the bsd priority over sysv func */ |
86 | if (n & 2) type = SUM_BSD; | 86 | if (n & 2) type = SUM_BSD; |