OSDN Git Service

Make fallocate depend on probe for libc support.
authorRob Landley <rob@landley.net>
Sun, 29 Jun 2014 03:17:00 +0000 (22:17 -0500)
committerRob Landley <rob@landley.net>
Sun, 29 Jun 2014 03:17:00 +0000 (22:17 -0500)
toys/other/fallocate.c

index 0144025..7a22634 100644 (file)
@@ -8,6 +8,7 @@ USE_FALLOCATE(NEWTOY(fallocate, ">1l#|", TOYFLAG_USR|TOYFLAG_BIN))
 
 config FALLOCATE
   bool "fallocate"
+  depends on TOYBOX_FALLOCATE
   default y
   help
     usage: fallocate [-l size] file