]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - lib/err.c
Imported from util-linux-2.9v tarball.
[thirdparty/util-linux.git] / lib / err.c
index 2731a714faddfe148104571797fcddfb2035c809..d531922409f707d14121566086e740d7079133f2 100644 (file)
--- a/lib/err.c
+++ b/lib/err.c
 #include <varargs.h>
 #endif
 
+#include "../defines.h"
+#ifdef HAVE_progname
 extern char *__progname;               /* Program name, from crt0. */
-#ifdef __linux__
-char *__progname;
+#else
+char *__progname = "foo";              /* probably libc4 */
 #endif
 
 __dead void