Module Name:    src
Committed By:   skrll
Date:           Sun Feb 16 10:49:31 UTC 2025

Modified Files:
        src/usr.bin/vmstat: vmstat.c

Log Message:
Trailing whitespace.


To generate a diff of this commit:
cvs rdiff -u -r1.259 -r1.260 src/usr.bin/vmstat/vmstat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/vmstat/vmstat.c
diff -u src/usr.bin/vmstat/vmstat.c:1.259 src/usr.bin/vmstat/vmstat.c:1.260
--- src/usr.bin/vmstat/vmstat.c:1.259	Sun Feb 16 09:44:59 2025
+++ src/usr.bin/vmstat/vmstat.c	Sun Feb 16 10:49:31 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: vmstat.c,v 1.259 2025/02/16 09:44:59 skrll Exp $ */
+/* $NetBSD: vmstat.c,v 1.260 2025/02/16 10:49:31 skrll Exp $ */
 
 /*-
  * Copyright (c) 1998, 2000, 2001, 2007, 2019, 2020
@@ -71,7 +71,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 19
 #if 0
 static char sccsid[] = "@(#)vmstat.c	8.2 (Berkeley) 3/1/95";
 #else
-__RCSID("$NetBSD: vmstat.c,v 1.259 2025/02/16 09:44:59 skrll Exp $");
+__RCSID("$NetBSD: vmstat.c,v 1.260 2025/02/16 10:49:31 skrll Exp $");
 #endif
 #endif /* not lint */
 
@@ -2346,7 +2346,7 @@ hist_traverse_sysctl(int todo, const cha
 		} else
 			err(EXIT_FAILURE, "nametomib kern.hist failed");
 	}
- 
+
 	/* get the list of nodenames below kern.hist */
 	mib[2] = CTL_QUERY;
 	memset(&query, 0, sizeof(query));
@@ -2361,12 +2361,12 @@ hist_traverse_sysctl(int todo, const cha
  		warnx("No active kernel history logs.");
  		return;
  	}
- 
+
 	len = len / sizeof(histnode[0]);	/* get # of entries returned */
 
  	if (todo & HISTLIST)
  		(void)printf("Active kernel histories:");
- 
+
 	for (i = 0; i < len; i++) {
  		if (todo & HISTLIST)
 			(void)printf(" %s", histnode[i].sysctl_name);
@@ -2387,13 +2387,13 @@ hist_traverse_sysctl(int todo, const cha
  			}
  		}
  	}
- 
+
  	if (todo & HISTLIST)
  		(void)putchar('\n');
 	else if (mib[2] == CTL_QUERY)
 		warnx("history %s not found", histname);
  }
- 
+
  /*
   * Actually dump the history buffer at the specified KVA.
   */
@@ -2407,7 +2407,7 @@ hist_dodump_sysctl(int mib[], unsigned i
 	char *strp;
  	unsigned i;
 	char *fmt = NULL, *fn = NULL;
- 
+
 	hist = NULL;
 	histsize = 0;
  	do {
@@ -2421,13 +2421,13 @@ hist_dodump_sysctl(int mib[], unsigned i
 	} while (errno == ENOMEM);
 	if (errno != 0)
 		err(1, "sysctl failed");
- 
+
 	strp = (char *)(&hist->sh_events[hist->sh_numentries]);
- 
+
 	(void)printf("%"PRIu32" entries, next is %"PRIu32"\n",
 	    hist->sh_numentries,
 	    hist->sh_nextfree);
- 
+
 	i = hist->sh_nextfree;
 
 	do {
@@ -2450,7 +2450,7 @@ hist_dodump_sysctl(int mib[], unsigned i
  		}
 		i = (i + 1) % hist->sh_numentries;
 	} while (i != hist->sh_nextfree);
- 
+
 	free(hist);
  }
 

Reply via email to