From 8a24e406357a2ad52625fcf0e588f14e9bf1918c Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Sun, 9 Apr 1995 18:02:37 +0000 Subject: 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. --- utils/su.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') 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: -- cgit v1.2.3