diff options
| author | Karel Zak <kzak@redhat.com> | 2006-12-07 00:25:39 +0100 |
|---|---|---|
| committer | Karel Zak <kzak@redhat.com> | 2006-12-07 00:25:39 +0100 |
| commit | 7eda085c41faa3445b4b168ce78ab18dab87d98a (patch) | |
| tree | eb8da4baebd0af68fa84818d3d51b4a3714667fc /lib/err.c | |
| parent | 5c36a0eb7cdb0360f9afd5d747c321f423b35984 (diff) | |
| download | util-linux-7eda085c41faa3445b4b168ce78ab18dab87d98a.tar.gz | |
Imported from util-linux-2.9v tarball.v2.9v
Diffstat (limited to 'lib/err.c')
| -rw-r--r-- | lib/err.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -43,9 +43,11 @@ #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 |
