diff options
author | 2005-05-11 18:06:31 +0000 | |
---|---|---|
committer | 2005-05-11 18:06:31 +0000 | |
commit | 4a5c7b1e7d0cf0807c42bf63fc76b7ce0b231f58 (patch) | |
tree | 53dab0fc1c6d54d155a462cd022fc1a3a72a68b9 | |
parent | prettier; ok uwe (diff) | |
download | wireguard-openbsd-4a5c7b1e7d0cf0807c42bf63fc76b7ce0b231f58.tar.xz wireguard-openbsd-4a5c7b1e7d0cf0807c42bf63fc76b7ce0b231f58.zip |
no need to include '\n' on a panic(), fix two typos,
from Leonardo C. Filho <leonardo@fesppr.br>, thanks!
-rw-r--r-- | sys/isofs/udf/udf_vnops.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/isofs/udf/udf_vnops.c b/sys/isofs/udf/udf_vnops.c index 084588d5313..97e7b65c41f 100644 --- a/sys/isofs/udf/udf_vnops.c +++ b/sys/isofs/udf/udf_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udf_vnops.c,v 1.6 2005/04/15 11:49:37 pedro Exp $ */ +/* $OpenBSD: udf_vnops.c,v 1.7 2005/05/11 18:06:31 pedro Exp $ */ /* * Copyright (c) 2001, 2002 Scott Long <scottl@freebsd.org> @@ -152,7 +152,7 @@ udf_hashrem(struct udf_node *node) mtx_enter(&udfmp->hash_mtx); lh = &udfmp->hashtbl[node->hash_id & udfmp->hashsz]; if (lh == NULL) - panic("hash entry is NULL, node->hash_id= %d\n", node->hash_id); + panic("hash entry is NULL, node->hash_id= %d", node->hash_id); LIST_REMOVE(node, le); mtx_leave(&udfmp->hash_mtx); @@ -277,7 +277,7 @@ udf_timetotimespec(struct timestamp *time, struct timespec *t) t->tv_sec += time->hour * 3600; t->tv_sec += time->day * 3600 * 24; - /* Calclulate the month */ + /* Calculate the month */ lpyear = udf_isaleapyear(year); for (i = 1; i < time->month; i++) t->tv_sec += mon_lens[lpyear][i] * 3600 * 24; @@ -510,8 +510,8 @@ udf_transname(char *cs0string, char *destname, int len, struct udf_mnt *udfmp) /* * Compare a CS0 dstring with a name passed in from the VFS layer. Return - * 0 on a successful match, nonzero therwise. Unicode work may need to be done - * here also. + * 0 on a successful match, nonzero otherwise. Unicode work may need to be + * done here also. */ static int udf_cmpname(char *cs0string, char *cmpname, int cs0len, int cmplen, struct udf_mnt *udfmp) |