diff options
Diffstat (limited to 'text-utils')
-rw-r--r-- | text-utils/Makefile.am | 4 | ||||
-rw-r--r-- | text-utils/pg.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/text-utils/Makefile.am b/text-utils/Makefile.am index 7c724aeb..dec895b4 100644 --- a/text-utils/Makefile.am +++ b/text-utils/Makefile.am @@ -2,7 +2,7 @@ include $(top_srcdir)/config/include-Makefile.am EXTRA_DIST = README.clear README.col -usrbinexec_PROGRAMS = col colcrt colrm column hexdump rev line tailf +usrbin_exec_PROGRAMS = col colcrt colrm column hexdump rev line tailf hexdump_SOURCES = hexdump.c conv.c display.c hexsyntax.c odsyntax.c parse.c \ hexdump.h @@ -11,7 +11,7 @@ dist_man_MANS = col.1 colcrt.1 colrm.1 column.1 hexdump.1 rev.1 line.1 tailf.1 if HAVE_NCURSES bin_PROGRAMS = more -usrbinexec_PROGRAMS += ul pg +usrbin_exec_PROGRAMS += ul pg if HAVE_TINFO more_LDADD = -ltinfo pg_LDADD = -ltinfo @NCURSES_LIBS@ diff --git a/text-utils/pg.c b/text-utils/pg.c index 30c67009..b2c4d873 100644 --- a/text-utils/pg.c +++ b/text-utils/pg.c @@ -220,7 +220,7 @@ smalloc(size_t s) { char *m = (char *)malloc(s); if (m == NULL) { - char *p = _("Out of memory\n"); + const char *p = _("Out of memory\n"); write(2, p, strlen(p)); quit(++exitstatus); } @@ -1507,7 +1507,7 @@ found_bw: /* * Help! */ - char *help = _(helpscreen); + const char *help = _(helpscreen); write(1, copyright + 4, strlen(copyright + 4)); write(1, help, strlen(help)); goto newcmd; |