- patch from Denis Vlasenko to add and use bb_xchdir()
[oweals/busybox.git] / networking / hostname.c
index 6522bb21bbd2a074adc3f40fdbb3e46872270284..8b9314c989487c660c52a208407bd42ae98532c5 100644 (file)
@@ -1,11 +1,11 @@
 /* vi: set sw=4 ts=4: */
 /*
- * $Id: hostname.c,v 1.35 2003/03/19 09:12:37 mjn3 Exp $
+ * $Id: hostname.c,v 1.36 2003/07/14 21:21:01 andersen Exp $
  * Mini hostname implementation for busybox
  *
  * Copyright (C) 1999 by Randolph Chung <tausq@debian.org>
  *
- * adjusted by Erik Andersen <andersee@debian.org> to remove
+ * adjusted by Erik Andersen <andersen@codepoet.org> to remove
  * use of long options and GNU getopt.  Improved the usage info.
  *
  * This program is free software; you can redistribute it and/or modify
@@ -77,8 +77,8 @@ int hostname_main(int argc, char **argv)
        if (argc < 1)
                bb_show_usage();
 
-        while ((opt = getopt(argc, argv, "dfisF:")) > 0) {
-                switch (opt) {
+       while ((opt = getopt(argc, argv, "dfisF:")) > 0) {
+               switch (opt) {
                case 'd':
                case 'f':
                case 'i':