Module Name:    src
Committed By:   pooka
Date:           Thu Aug  6 00:23:08 UTC 2009

Modified Files:
        src/libexec/lfs_cleanerd: lfs_cleanerd.c

Log Message:
add D to getopt so that previous actually works


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/libexec/lfs_cleanerd/lfs_cleanerd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/libexec/lfs_cleanerd/lfs_cleanerd.c
diff -u src/libexec/lfs_cleanerd/lfs_cleanerd.c:1.19 src/libexec/lfs_cleanerd/lfs_cleanerd.c:1.20
--- src/libexec/lfs_cleanerd/lfs_cleanerd.c:1.19	Thu Aug  6 00:20:45 2009
+++ src/libexec/lfs_cleanerd/lfs_cleanerd.c	Thu Aug  6 00:23:08 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: lfs_cleanerd.c,v 1.19 2009/08/06 00:20:45 pooka Exp $	 */
+/* $NetBSD: lfs_cleanerd.c,v 1.20 2009/08/06 00:23:08 pooka Exp $	 */
 
 /*-
  * Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -1336,7 +1336,7 @@
 	/*
 	 * Parse command-line arguments
 	 */
-	while ((opt = getopt(argc, argv, "bC:cdfi:l:mn:qr:st:")) != -1) {
+	while ((opt = getopt(argc, argv, "bC:cdDfi:l:mn:qr:st:")) != -1) {
 		switch (opt) {
 		    case 'b':	/* Use bytes written, not segments read */
 			    use_bytes = 1;

Reply via email to