[LinuxBIOS] r476 - LinuxBIOSv3/util/lar

svn at openbios.org svn at openbios.org
Mon Aug 20 02:48:06 CEST 2007


Author: stepan
Date: 2007-08-20 02:48:06 +0200 (Mon, 20 Aug 2007)
New Revision: 476

Modified:
   LinuxBIOSv3/util/lar/lib.c
   LinuxBIOSv3/util/lar/stream.c
Log:
fix mkdirp_below calls like I think Peter intended them

Signed-off-by: Stefan Reinauer <stepan at coresystems.de>
Acked-by: Stefan Reinauer <stepan at coresystems.de>



Modified: LinuxBIOSv3/util/lar/lib.c
===================================================================
--- LinuxBIOSv3/util/lar/lib.c	2007-08-20 00:36:20 UTC (rev 475)
+++ LinuxBIOSv3/util/lar/lib.c	2007-08-20 00:48:06 UTC (rev 476)
@@ -155,12 +155,6 @@
 	return ret;
 }
 
-
-int mkdirp(const char *dirpath, mode_t mode)
-{
-	return mkdirp_below(".", dirpath, mode);
-}
-
 static int handle_directory(const char *name)
 {
 	int n;

Modified: LinuxBIOSv3/util/lar/stream.c
===================================================================
--- LinuxBIOSv3/util/lar/stream.c	2007-08-20 00:36:20 UTC (rev 475)
+++ LinuxBIOSv3/util/lar/stream.c	2007-08-20 00:48:06 UTC (rev 476)
@@ -445,7 +445,7 @@
 		return -1;
 	}
 
-	mkdirp((const char *) dirname(path), 0755);
+	mkdirp_below(".", (const char *) dirname(path), 0755);
 	free(path);
 
 	fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0644);





More information about the coreboot mailing list