summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2008-06-24 17:12:04 -0400
committerPeter Jones <pjones@pjones2.localdomain>2008-06-25 15:15:22 -0400
commit4fca542f119f9dff2500d6ceae796523f0966556 (patch)
tree1bf861d53c2b7b445e370bf35db32d1a9fe80d88
parent557d2a71b4d2f9d8bb521d0cdcf4f37a519e2bca (diff)
downloadanaconda-4fca542f119f9dff2500d6ceae796523f0966556.tar.gz
anaconda-4fca542f119f9dff2500d6ceae796523f0966556.tar.xz
anaconda-4fca542f119f9dff2500d6ceae796523f0966556.zip
basename(3) sucks like no tomorrow.
-rw-r--r--utils/geninitrdsz.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/geninitrdsz.c b/utils/geninitrdsz.c
index 01d1cf135..fb8fd1748 100644
--- a/utils/geninitrdsz.c
+++ b/utils/geninitrdsz.c
@@ -15,6 +15,7 @@
#include <unistd.h>
#include <errno.h>
#include <string.h>
+#include <libgen.h>
int main(int argc,char **argv) {
unsigned int zero = 0;