summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgad <gad@FreeBSD.org>2004-03-27 21:40:04 +0000
committergad <gad@FreeBSD.org>2004-03-27 21:40:04 +0000
commitad1098e739595e6c0d61a41cd9732f33a1f86001 (patch)
treeaaef3959be25b345017ecc0313a8adaaedb78ef5
parent49554d1bd86202a6694cfff7c5fdc77511af0d50 (diff)
downloadFreeBSD-src-ad1098e739595e6c0d61a41cd9732f33a1f86001.zip
FreeBSD-src-ad1098e739595e6c0d61a41cd9732f33a1f86001.tar.gz
Move the 'f' case so it shows up in the right place, alphabetically.
-rw-r--r--bin/ps/ps.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/ps/ps.c b/bin/ps/ps.c
index 097aa1f..a5c283d 100644
--- a/bin/ps/ps.c
+++ b/bin/ps/ps.c
@@ -242,6 +242,12 @@ main(int argc, char *argv[])
case 'e': /* XXX set ufmt */
needenv = 1;
break;
+#ifdef LAZY_PS
+ case 'f':
+ if (getuid() == 0 || getgid() == 0)
+ forceuread = 1;
+ break;
+#endif
case 'G':
add_list(&gidlist, optarg);
xkeep_implied = 1;
@@ -301,12 +307,6 @@ main(int argc, char *argv[])
parsefmt(optarg, 1);
_fmt = 1;
break;
-#if defined(LAZY_PS)
- case 'f':
- if (getuid() == 0 || getgid() == 0)
- forceuread = 1;
- break;
-#endif
case 'p':
add_list(&pidlist, optarg);
/*
OpenPOWER on IntegriCloud