mirror of
https://github.com/openbsd/src.git
synced 2025-01-10 06:47:55 -08:00
knf; Mark Lumsden
This commit is contained in:
parent
7d7aad2802
commit
862ca0bae2
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: uname.c,v 1.9 2005/12/28 15:41:29 millert Exp $ */
|
||||
/* $OpenBSD: uname.c,v 1.10 2008/06/19 20:07:04 deraadt Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994 Winning Strategies, Inc.
|
||||
@ -32,7 +32,7 @@
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
static char rcsid[] = "$OpenBSD: uname.c,v 1.9 2005/12/28 15:41:29 millert Exp $";
|
||||
static char rcsid[] = "$OpenBSD: uname.c,v 1.10 2008/06/19 20:07:04 deraadt Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -64,8 +64,8 @@ main(int argc, char *argv[])
|
||||
|
||||
setlocale(LC_ALL, "");
|
||||
|
||||
while ((c = getopt(argc,argv,"amnrsvp")) != -1 ) {
|
||||
switch ( c ) {
|
||||
while ((c = getopt(argc, argv, "amnrsvp")) != -1 ) {
|
||||
switch (c) {
|
||||
case 'a':
|
||||
print_mask |= PRINT_ALL;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user