diff options
-rw-r--r-- | chmod_chown_chgrp.c | 8 | ||||
-rw-r--r-- | coreutils/date.c | 4 | ||||
-rw-r--r-- | date.c | 4 | ||||
-rw-r--r-- | find.c | 6 | ||||
-rw-r--r-- | findutils/find.c | 6 | ||||
-rw-r--r-- | init.c | 4 | ||||
-rw-r--r-- | init/init.c | 4 | ||||
-rw-r--r-- | logger.c | 2 | ||||
-rw-r--r-- | mount.c | 4 | ||||
-rw-r--r-- | sysklogd/logger.c | 2 | ||||
-rw-r--r-- | util-linux/mount.c | 4 |
11 files changed, 24 insertions, 24 deletions
diff --git a/chmod_chown_chgrp.c b/chmod_chown_chgrp.c index fb5cb921b..773f4b0c0 100644 --- a/chmod_chown_chgrp.c +++ b/chmod_chown_chgrp.c @@ -27,8 +27,8 @@ #include "internal.h" -static uid_t uid=-1; -static gid_t gid=-1; +static uid_t uid = -1; +static gid_t gid = -1; static int whichApp; static char* invocationName=NULL; static char* theMode=NULL; @@ -92,7 +92,7 @@ int chmod_chown_chgrp_main(int argc, char **argv) if (argc < 2) usage( appUsage); - invocationName=*argv; + invocationName = *argv; argc--; argv++; @@ -111,7 +111,7 @@ int chmod_chown_chgrp_main(int argc, char **argv) } if ( whichApp == CHMOD_APP ) { - theMode=*argv; + theMode = *argv; } else { /* Find the selected group */ diff --git a/coreutils/date.c b/coreutils/date.c index 6be89df3e..77e7c39db 100644 --- a/coreutils/date.c +++ b/coreutils/date.c @@ -204,10 +204,10 @@ date_main(int argc, char * * argv) } } else { if ( (date_fmt == NULL) && (strcmp(*argv, "+")==0) ) - date_fmt=*argv; + date_fmt = *argv; else if (date_str == NULL) { set_time = 1; - date_str=*argv; + date_str = *argv; } else { usage ( date_usage); } @@ -204,10 +204,10 @@ date_main(int argc, char * * argv) } } else { if ( (date_fmt == NULL) && (strcmp(*argv, "+")==0) ) - date_fmt=*argv; + date_fmt = *argv; else if (date_str == NULL) { set_time = 1; - date_str=*argv; + date_str = *argv; } else { usage ( date_usage); } @@ -70,7 +70,7 @@ int find_main(int argc, char **argv) argv++; if ( argc > 0 && **argv != '-') { - directory=*argv; + directory = *argv; argc--; argv++; } @@ -89,8 +89,8 @@ int find_main(int argc, char **argv) case 'n': if (strcmp(*argv, "name")==0) { if (argc-- > 1) { - pattern=*(++argv); - stopit=-TRUE; + pattern = *(++argv); + stopit=TRUE; } else { usage (find_usage); } diff --git a/findutils/find.c b/findutils/find.c index 40a508f05..47ce21ec4 100644 --- a/findutils/find.c +++ b/findutils/find.c @@ -70,7 +70,7 @@ int find_main(int argc, char **argv) argv++; if ( argc > 0 && **argv != '-') { - directory=*argv; + directory = *argv; argc--; argv++; } @@ -89,8 +89,8 @@ int find_main(int argc, char **argv) case 'n': if (strcmp(*argv, "name")==0) { if (argc-- > 1) { - pattern=*(++argv); - stopit=-TRUE; + pattern = *(++argv); + stopit=TRUE; } else { usage (find_usage); } @@ -154,7 +154,7 @@ void message(int device, char *fmt, ...) } #else - static int log_fd=-1; + static int log_fd = -1; /* Take full control of the log tty, and never close it. * It's mine, all mine! Muhahahaha! */ @@ -166,7 +166,7 @@ void message(int device, char *fmt, ...) device = CONSOLE; } else if ((log_fd = device_open(log, O_RDWR|O_NDELAY)) < 0) { - log_fd=-1; + log_fd = -1; fprintf(stderr, "Bummer, can't write to log on %s!\r\n", log); fflush(stderr); return; diff --git a/init/init.c b/init/init.c index 722ccd217..d88b64ba2 100644 --- a/init/init.c +++ b/init/init.c @@ -154,7 +154,7 @@ void message(int device, char *fmt, ...) } #else - static int log_fd=-1; + static int log_fd = -1; /* Take full control of the log tty, and never close it. * It's mine, all mine! Muhahahaha! */ @@ -166,7 +166,7 @@ void message(int device, char *fmt, ...) device = CONSOLE; } else if ((log_fd = device_open(log, O_RDWR|O_NDELAY)) < 0) { - log_fd=-1; + log_fd = -1; fprintf(stderr, "Bummer, can't write to log on %s!\r\n", log); fflush(stderr); return; @@ -161,7 +161,7 @@ extern int logger_main(int argc, char **argv) message=buf; } else { if (argc>=1) { - message=*argv; + message = *argv; } else { fprintf(stderr, "No message\n"); exit( FALSE); @@ -354,9 +354,9 @@ extern int mount_main (int argc, char **argv) } } else { if (device == NULL) - device=*argv; + device = *argv; else if (directory == NULL) - directory=*argv; + directory = *argv; else { goto goodbye; } diff --git a/sysklogd/logger.c b/sysklogd/logger.c index d7ae0233e..aab95b984 100644 --- a/sysklogd/logger.c +++ b/sysklogd/logger.c @@ -161,7 +161,7 @@ extern int logger_main(int argc, char **argv) message=buf; } else { if (argc>=1) { - message=*argv; + message = *argv; } else { fprintf(stderr, "No message\n"); exit( FALSE); diff --git a/util-linux/mount.c b/util-linux/mount.c index 4b0901f2a..4c9e77be0 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c @@ -354,9 +354,9 @@ extern int mount_main (int argc, char **argv) } } else { if (device == NULL) - device=*argv; + device = *argv; else if (directory == NULL) - directory=*argv; + directory = *argv; else { goto goodbye; } |