Author: marius
Date: Thu Jan  3 00:49:11 2013
New Revision: 244986
URL: http://svnweb.freebsd.org/changeset/base/244986

Log:
  Remove bogus '-' from getopt(3) string hit when porting daemon(8) to
  GNU/Linux *duck*.
  
  MFC after:    1 week

Modified:
  head/usr.sbin/daemon/daemon.c

Modified: head/usr.sbin/daemon/daemon.c
==============================================================================
--- head/usr.sbin/daemon/daemon.c       Wed Jan  2 23:29:54 2013        
(r244985)
+++ head/usr.sbin/daemon/daemon.c       Thu Jan  3 00:49:11 2013        
(r244986)
@@ -62,7 +62,7 @@ main(int argc, char *argv[])
        nochdir = noclose = 1;
        restart = 0;
        pidfile = user = NULL;
-       while ((ch = getopt(argc, argv, "-cfp:ru:")) != -1) {
+       while ((ch = getopt(argc, argv, "cfp:ru:")) != -1) {
                switch (ch) {
                case 'c':
                        nochdir = 0;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to