summaryrefslogtreecommitdiff
path: root/sbin/savecore/savecore.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2013-06-03 02:49:43 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2013-06-03 02:49:43 +0000
commit709204e867ea32e490627ab5148c6089d11f17a4 (patch)
tree4283bd085c2d8ffa6849c48d6f4800b0a496f877 /sbin/savecore/savecore.c
parentdb0183e381a0ad4c0ce5ed4dce1f25acd8b27782 (diff)
dependent clause requires a subject (comment grammar)
Diffstat (limited to 'sbin/savecore/savecore.c')
-rw-r--r--sbin/savecore/savecore.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sbin/savecore/savecore.c b/sbin/savecore/savecore.c
index 79cb6608c2b..468fc9f1ab2 100644
--- a/sbin/savecore/savecore.c
+++ b/sbin/savecore/savecore.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: savecore.c,v 1.48 2009/10/27 23:59:34 deraadt Exp $ */
+/* $OpenBSD: savecore.c,v 1.49 2013/06/03 02:49:42 tedu Exp $ */
/* $NetBSD: savecore.c,v 1.26 1996/03/18 21:16:05 leo Exp $ */
/*-
@@ -98,11 +98,11 @@ u_long dumpsize; /* amount of memory dumped */
char *kernel;
char *dirn; /* directory to save dumps in */
-char *ddname; /* name of dump device */
-dev_t dumpdev; /* dump device */
-int dumpfd; /* read/write descriptor on block dev */
-kvm_t *kd_dump; /* kvm descriptor on block dev */
-time_t now; /* current date */
+char *ddname; /* name of dump device */
+dev_t dumpdev; /* dump device */
+int dumpfd; /* read/write descriptor on block dev */
+kvm_t *kd_dump; /* kvm descriptor on block dev */
+time_t now; /* current date */
char panic_mesg[1024];
int panicstr;
char vers[1024];
@@ -342,7 +342,7 @@ dump_exists(void)
dumpsize = (u_long)dumppages * getpagesize();
/*
- * Return zero if core dump doesn't seem to be there, and note
+ * Return zero if core dump doesn't seem to be there and note
* it for syslog. This check and return happens after the dump size
* is read, so dumpsize is whether or not the core is valid (for -f).
*/
@@ -380,7 +380,7 @@ save_core(void)
/*
* Get the current number and update the bounds file. Do the update
- * now, because may fail later and don't want to overwrite anything.
+ * now, because we may fail later and don't want to overwrite anything.
*/
(void)snprintf(path, sizeof(path), "%s/bounds", dirn);
if ((fp = fopen(path, "r")) == NULL)