]> git.ipfire.org Git - thirdparty/lldpd.git/blobdiff - edit.am
lib: fix memory leak when handling I/O
[thirdparty/lldpd.git] / edit.am
diff --git a/edit.am b/edit.am
index fcff7fb934af8777650366d43107000fcb157357..e531590b9cc659c7aca0d99a476783886b8fbfb6 100644 (file)
--- a/edit.am
+++ b/edit.am
@@ -21,4 +21,4 @@ edit = $(SED) \
         -e 's|@PRIVSEP_CHROOT[@]|$(PRIVSEP_CHROOT)|g'
 
 $(TEMPLATES): Makefile
-       $(AM_V_GEN)mkdir -p $(@D) && $(edit) $(srcdir)/$@.in > $@.tmp && mv $@.tmp $@
+       $(AM_V_GEN)$(MKDIR_P) $(@D) && $(edit) $(srcdir)/$@.in > $@.tmp && mv $@.tmp $@