changeset 809:f753e5192cbb

Fix another allyesconfig build break in the pending directory.
author Rob Landley <rob@landley.net>
date Tue, 05 Mar 2013 02:33:12 -0600
parents c6eb6208c9b9
children 874d2e646f2d
files toys/pending/mke2fs.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/toys/pending/mke2fs.c	Sun Feb 24 13:48:15 2013 -0600
+++ b/toys/pending/mke2fs.c	Tue Mar 05 02:33:12 2013 -0600
@@ -6,7 +6,7 @@
 USE_MKE2FS(NEWTOY(mke2fs, "<1>2g:Fnqm#N#i#b#", TOYFLAG_SBIN))
 
 config MKE2FS
-  bool "mke2fs (unfinished and broken by dirtree changes)"
+  bool "mke2fs"
   default n
   help
     usage: mke2fs [-Fnq] [-b ###] [-N|i ###] [-m ###] device
@@ -463,7 +463,7 @@
 
   if (TT.gendir) {
     strncpy(toybuf, TT.gendir, sizeof(toybuf));
-    dti = dirtree_read(toybuf, NULL, NULL);
+    dti = dirtree_read(toybuf, dirtree_notdotdot);
   } else {
     dti = xzalloc(sizeof(struct dirtree)+11);
     strcpy(dti->name, "lost+found");