summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-04-09 18:02:37 +0000
committerMiles Bader <miles@gnu.org>1995-04-09 18:02:37 +0000
commit8a24e406357a2ad52625fcf0e588f14e9bf1918c (patch)
tree2d7939d7eea1543c4b2d30c00d0516e129131f81 /utils
parente832e374665746cdfbfe081410d9a75240343ecd (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')
-rw-r--r--utils/su.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/su.c b/utils/su.c
index 4efc7bd3..1772a377 100644
--- a/utils/su.c
+++ b/utils/su.c
@@ -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: