summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2017-11-03 14:16:08 +0000
committerRon Yorston <rmy@pobox.com>2017-11-03 14:16:08 +0000
commitd6ce08aeb85b3698ddaa281016b70e16aeb9fb35 (patch)
tree02ad9bc0684859515fe891f3d6b0a1086e0db156 /util-linux
parentab450021a99ba66126cc6d668fb06ec3829a572b (diff)
parenta5060b8364faa7c677c8950f1315c451403b0660 (diff)
downloadbusybox-w32-d6ce08aeb85b3698ddaa281016b70e16aeb9fb35.tar.gz
busybox-w32-d6ce08aeb85b3698ddaa281016b70e16aeb9fb35.tar.bz2
busybox-w32-d6ce08aeb85b3698ddaa281016b70e16aeb9fb35.zip
Merge branch 'busybox' into merge
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/blkdiscard.c1
-rw-r--r--util-linux/fdformat.c3
-rw-r--r--util-linux/fdisk.c3
-rw-r--r--util-linux/fdisk_osf.c3
-rw-r--r--util-linux/getopt.c3
-rw-r--r--util-linux/mkswap.c3
-rw-r--r--util-linux/readprofile.c4
-rw-r--r--util-linux/switch_root.c3
8 files changed, 15 insertions, 8 deletions
diff --git a/util-linux/blkdiscard.c b/util-linux/blkdiscard.c
index 5863f0aab..e4902e5b5 100644
--- a/util-linux/blkdiscard.c
+++ b/util-linux/blkdiscard.c
@@ -8,6 +8,7 @@
8//config:config BLKDISCARD 8//config:config BLKDISCARD
9//config: bool "blkdiscard (5.3 kb)" 9//config: bool "blkdiscard (5.3 kb)"
10//config: default y 10//config: default y
11//config: select PLATFORM_LINUX
11//config: help 12//config: help
12//config: blkdiscard discards sectors on a given device. 13//config: blkdiscard discards sectors on a given device.
13 14
diff --git a/util-linux/fdformat.c b/util-linux/fdformat.c
index 855269c30..c72da8b89 100644
--- a/util-linux/fdformat.c
+++ b/util-linux/fdformat.c
@@ -1,5 +1,6 @@
1/* vi: set sw=4 ts=4: */ 1/* vi: set sw=4 ts=4: */
2/* fdformat.c - Low-level formats a floppy disk - Werner Almesberger 2/*
3 * fdformat.c - Low-level formats a floppy disk - Werner Almesberger
3 * 5 July 2003 -- modified for Busybox by Erik Andersen 4 * 5 July 2003 -- modified for Busybox by Erik Andersen
4 * 5 *
5 * Licensed under GPLv2, see file LICENSE in this source tree. 6 * Licensed under GPLv2, see file LICENSE in this source tree.
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c
index c4318b6c4..7275535e6 100644
--- a/util-linux/fdisk.c
+++ b/util-linux/fdisk.c
@@ -1,5 +1,6 @@
1/* vi: set sw=4 ts=4: */ 1/* vi: set sw=4 ts=4: */
2/* fdisk.c -- Partition table manipulator for Linux. 2/*
3 * fdisk.c -- Partition table manipulator for Linux.
3 * 4 *
4 * Copyright (C) 1992 A. V. Le Blanc (LeBlanc@mcc.ac.uk) 5 * Copyright (C) 1992 A. V. Le Blanc (LeBlanc@mcc.ac.uk)
5 * Copyright (C) 2001,2002 Vladimir Oleynik <dzo@simtreas.ru> (initial bb port) 6 * Copyright (C) 2001,2002 Vladimir Oleynik <dzo@simtreas.ru> (initial bb port)
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;
diff --git a/util-linux/getopt.c b/util-linux/getopt.c
index a151b7e56..4431a7e74 100644
--- a/util-linux/getopt.c
+++ b/util-linux/getopt.c
@@ -1,11 +1,10 @@
1/* vi: set sw=4 ts=4: */ 1/* vi: set sw=4 ts=4: */
2/* 2/*
3 * getopt.c - Enhanced implementation of BSD getopt(1) 3 * getopt.c - Enhanced implementation of BSD getopt(1)
4 * Copyright (c) 1997, 1998, 1999, 2000 Frodo Looijaard <frodol@dds.nl> 4 * Copyright (c) 1997, 1998, 1999, 2000 Frodo Looijaard <frodol@dds.nl>
5 * 5 *
6 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 6 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
7 */ 7 */
8
9/* 8/*
10 * Version 1.0-b4: Tue Sep 23 1997. First public release. 9 * Version 1.0-b4: Tue Sep 23 1997. First public release.
11 * Version 1.0: Wed Nov 19 1997. 10 * Version 1.0: Wed Nov 19 1997.
diff --git a/util-linux/mkswap.c b/util-linux/mkswap.c
index 71449882d..2eb16bd84 100644
--- a/util-linux/mkswap.c
+++ b/util-linux/mkswap.c
@@ -1,5 +1,6 @@
1/* vi: set sw=4 ts=4: */ 1/* vi: set sw=4 ts=4: */
2/* mkswap.c - format swap device (Linux v1 only) 2/*
3 * mkswap.c - format swap device (Linux v1 only)
3 * 4 *
4 * Copyright 2006 Rob Landley <rob@landley.net> 5 * Copyright 2006 Rob Landley <rob@landley.net>
5 * 6 *
diff --git a/util-linux/readprofile.c b/util-linux/readprofile.c
index 394ece1dd..8fc33be3c 100644
--- a/util-linux/readprofile.c
+++ b/util-linux/readprofile.c
@@ -1,8 +1,8 @@
1/* vi: set sw=4 ts=4: */ 1/* vi: set sw=4 ts=4: */
2/* 2/*
3 * readprofile.c - used to read /proc/profile 3 * readprofile.c - used to read /proc/profile
4 * 4 *
5 * Copyright (C) 1994,1996 Alessandro Rubini (rubini@ipvvis.unipv.it) 5 * Copyright (C) 1994,1996 Alessandro Rubini (rubini@ipvvis.unipv.it)
6 * 6 *
7 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 7 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
8 */ 8 */
diff --git a/util-linux/switch_root.c b/util-linux/switch_root.c
index 080b05e45..2d1802b79 100644
--- a/util-linux/switch_root.c
+++ b/util-linux/switch_root.c
@@ -1,5 +1,6 @@
1/* vi: set sw=4 ts=4: */ 1/* vi: set sw=4 ts=4: */
2/* Copyright 2005 Rob Landley <rob@landley.net> 2/*
3 * Copyright 2005 Rob Landley <rob@landley.net>
3 * 4 *
4 * Switch from rootfs to another filesystem as the root of the mount tree. 5 * Switch from rootfs to another filesystem as the root of the mount tree.
5 * 6 *