getdevpath - support API moved to <fstab.h>
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 6 Aug 2009 15:00:21 +0000 (08:00 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 6 Aug 2009 15:00:21 +0000 (08:00 -0700)
lib/libc/gen/getdevpath.c

index 62f0def..3e6ef2f 100644 (file)
@@ -42,8 +42,7 @@
 #include <errno.h>
 #include <paths.h>
 #include <limits.h>
-
-#include "libutil.h"
+#include <fstab.h>
 
 static void finddevlabel(char **pathp, const char *devname);
 static int xlatedevpath(char **pathp, struct stat *st);