summaryrefslogtreecommitdiffstats
path: root/usr.bin/devmenu
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-30 06:41:30 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-30 06:41:30 +0000
commita14d555c873398b14776ca4f2c33f9c69617afb9 (patch)
tree350f6f98843363254f9afe467ae0c92d5a9d7f43 /usr.bin/devmenu
parentf3a2b348daf9fa6063c38d2d69563f732a2f80e7 (diff)
downloadFreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.zip
FreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.tar.gz
Remove trailing whitespace.
Diffstat (limited to 'usr.bin/devmenu')
-rw-r--r--usr.bin/devmenu/devfilter.c8
-rw-r--r--usr.bin/devmenu/devmenu.c6
-rw-r--r--usr.bin/devmenu/devmenu.h4
-rw-r--r--usr.bin/devmenu/ifmenu.c4
4 files changed, 11 insertions, 11 deletions
diff --git a/usr.bin/devmenu/devfilter.c b/usr.bin/devmenu/devfilter.c
index 873f87f..1493471 100644
--- a/usr.bin/devmenu/devfilter.c
+++ b/usr.bin/devmenu/devfilter.c
@@ -12,7 +12,7 @@
* no representations about the suitability of this software for any
* purpose. It is provided "as is" without express or implied
* warranty.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY M.I.T. ``AS IS''. M.I.T. DISCLAIMS
* ALL EXPRESS OR IMPLIED WARRANTIES WITH REGARD TO THIS SOFTWARE,
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
@@ -88,7 +88,7 @@ devmenu_alldevs(void)
rv = malloc((ndevs + 1) * sizeof *rv);
if (!rv) {
- err(EX_UNAVAILABLE, "malloc(%lu)",
+ err(EX_UNAVAILABLE, "malloc(%lu)",
(unsigned long)(ndevs * sizeof *rv));
}
@@ -100,7 +100,7 @@ devmenu_alldevs(void)
rv[ndx] = malloc(size);
if (!rv[ndx]) {
- err(EX_UNAVAILABLE, "malloc(%lu)",
+ err(EX_UNAVAILABLE, "malloc(%lu)",
(unsigned long)size);
}
@@ -185,7 +185,7 @@ devmenu_common(const char *title, const char *hfile, char **devnames,
if(dialog_menu((char *)title, prompt, 24, 78, 18, nitems, items,
resbuf, 0, 0) != 0) {
name = "none";
- }
+ }
for (i = 0; i < 2 * nitems; i += 2) {
free(items[i]);
diff --git a/usr.bin/devmenu/devmenu.c b/usr.bin/devmenu/devmenu.c
index e4e64a6..2e5c69b 100644
--- a/usr.bin/devmenu/devmenu.c
+++ b/usr.bin/devmenu/devmenu.c
@@ -12,7 +12,7 @@
* no representations about the suitability of this software for any
* purpose. It is provided "as is" without express or implied
* warranty.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY M.I.T. ``AS IS''. M.I.T. DISCLAIMS
* ALL EXPRESS OR IMPLIED WARRANTIES WITH REGARD TO THIS SOFTWARE,
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
@@ -36,7 +36,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id: devmenu.c,v 1.1 1995/04/13 21:10:59 wollman Exp $";
+ "$Id: devmenu.c,v 1.2 1995/04/14 18:33:43 wollman Exp $";
#endif
#include <stdlib.h>
@@ -249,5 +249,5 @@ usage(const char *argv0)
fprintf(stderr, "%s: usage:\n"
"%s [-c class] [-s state] [-t title] [-h hfile] [-f outfile]"
"[-n] [-i] [-d]\n", argv0, argv0);
-
+
}
diff --git a/usr.bin/devmenu/devmenu.h b/usr.bin/devmenu/devmenu.h
index 2cf77e3..e3cf1a8 100644
--- a/usr.bin/devmenu/devmenu.h
+++ b/usr.bin/devmenu/devmenu.h
@@ -12,7 +12,7 @@
* no representations about the suitability of this software for any
* purpose. It is provided "as is" without express or implied
* warranty.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY M.I.T. ``AS IS''. M.I.T. DISCLAIMS
* ALL EXPRESS OR IMPLIED WARRANTIES WITH REGARD TO THIS SOFTWARE,
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
@@ -26,7 +26,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: devmenu.h,v 1.1 1995/04/13 21:11:00 wollman Exp $
+ * $Id: devmenu.h,v 1.2 1995/04/14 18:33:44 wollman Exp $
*/
/* NB: must include sys/devconf.h before this file */
diff --git a/usr.bin/devmenu/ifmenu.c b/usr.bin/devmenu/ifmenu.c
index 801535b..74b0e36 100644
--- a/usr.bin/devmenu/ifmenu.c
+++ b/usr.bin/devmenu/ifmenu.c
@@ -12,7 +12,7 @@
* no representations about the suitability of this software for any
* purpose. It is provided "as is" without express or implied
* warranty.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY M.I.T. ``AS IS''. M.I.T. DISCLAIMS
* ALL EXPRESS OR IMPLIED WARRANTIES WITH REGARD TO THIS SOFTWARE,
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
@@ -42,7 +42,7 @@
* network interfaces might be added as well.
*/
const char *
-devmenu_netif(const char *title, const char *hfile, char **devnames,
+devmenu_netif(const char *title, const char *hfile, char **devnames,
int states)
{
return devmenu_common(title, hfile, devnames,
OpenPOWER on IntegriCloud