aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--networking/traceroute.c3
-rw-r--r--util-linux/fdisk_osf.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/networking/traceroute.c b/networking/traceroute.c
index 6dcbc2faa..a027b928a 100644
--- a/networking/traceroute.c
+++ b/networking/traceroute.c
@@ -709,6 +709,9 @@ packet_ok(int read_len, len_and_sockaddr *from_lsa,
709 709
710# if ENABLE_FEATURE_TRACEROUTE_VERBOSE 710# if ENABLE_FEATURE_TRACEROUTE_VERBOSE
711 if (verbose) { 711 if (verbose) {
712# ifndef MAXHOSTNAMELEN
713# define MAXHOSTNAMELEN 80
714# endif
712 unsigned char *p; 715 unsigned char *p;
713 char pa1[MAXHOSTNAMELEN]; 716 char pa1[MAXHOSTNAMELEN];
714 char pa2[MAXHOSTNAMELEN]; 717 char pa2[MAXHOSTNAMELEN];
diff --git a/util-linux/fdisk_osf.c b/util-linux/fdisk_osf.c
index 1141b7801..1328c1fcd 100644
--- a/util-linux/fdisk_osf.c
+++ b/util-linux/fdisk_osf.c
@@ -709,6 +709,9 @@ sync_disks(void)
709static void 709static void
710xbsd_write_bootstrap(void) 710xbsd_write_bootstrap(void)
711{ 711{
712#ifndef MAXPATHLEN
713# define MAXPATHLEN 1024
714#endif
712 char path[MAXPATHLEN]; 715 char path[MAXPATHLEN];
713 const char *bootdir = BSD_LINUX_BOOTDIR; 716 const char *bootdir = BSD_LINUX_BOOTDIR;
714 const char *dkbasename; 717 const char *dkbasename;