diff options
author | Miles Bader <miles@gnu.org> | 1995-04-09 18:02:37 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-04-09 18:02:37 +0000 |
commit | 8a24e406357a2ad52625fcf0e588f14e9bf1918c (patch) | |
tree | 2d7939d7eea1543c4b2d30c00d0516e129131f81 /utils/su.c | |
parent | e832e374665746cdfbfe081410d9a75240343ecd (diff) |
Getopt now returns '\001' for non-switch options instead of '\0', no doubt to
work around an obscure bug in some brain-dead system only used by 2 people
twice a decade.
Diffstat (limited to 'utils/su.c')
-rw-r--r-- | utils/su.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -124,7 +124,7 @@ main (int argc, char **argv) mode = pgrp; break; - case '\0': /* Non-option argument. */ + case 1: /* Non-option argument. */ switch (mode) { case user: |