Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a79f946

Browse files
committed
s/Illgal/Illegal/ in error string.
1 parent abb4f63 commit a79f946

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

sys/arch/sun3/dev/xd.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: xd.c,v 1.80 2024/12/21 17:40:11 tsutsui Exp $ */
1+
/* $NetBSD: xd.c,v 1.81 2025/09/06 21:20:20 andvar Exp $ */
22

33
/*
44
* Copyright (c) 1995 Charles D. Cranor
@@ -46,7 +46,7 @@
4646
*/
4747

4848
#include <sys/cdefs.h>
49-
__KERNEL_RCSID(0, "$NetBSD: xd.c,v 1.80 2024/12/21 17:40:11 tsutsui Exp $");
49+
__KERNEL_RCSID(0, "$NetBSD: xd.c,v 1.81 2025/09/06 21:20:20 andvar Exp $");
5050

5151
#undef XDC_DEBUG /* full debug */
5252
#define XDC_DIAG /* extra sanity checks */
@@ -2274,7 +2274,7 @@ xdc_e2str(int no)
22742274
case XD_ERR_IHD:
22752275
return "Illegal head address";
22762276
case XD_ERR_ISEC:
2277-
return "Illgal sector address";
2277+
return "Illegal sector address";
22782278
case XD_ERR_CZER:
22792279
return "Count zero";
22802280
case XD_ERR_UIMP:

sys/dev/vme/xd.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: xd.c,v 1.99 2023/01/23 21:52:01 andvar Exp $ */
1+
/* $NetBSD: xd.c,v 1.100 2025/09/06 21:20:20 andvar Exp $ */
22

33
/*
44
* Copyright (c) 1995 Charles D. Cranor
@@ -45,7 +45,7 @@
4545
*/
4646

4747
#include <sys/cdefs.h>
48-
__KERNEL_RCSID(0, "$NetBSD: xd.c,v 1.99 2023/01/23 21:52:01 andvar Exp $");
48+
__KERNEL_RCSID(0, "$NetBSD: xd.c,v 1.100 2025/09/06 21:20:20 andvar Exp $");
4949

5050
#undef XDC_DEBUG /* full debug */
5151
#define XDC_DIAG /* extra sanity checks */
@@ -2469,7 +2469,7 @@ xdc_e2str(int no)
24692469
case XD_ERR_IHD:
24702470
return ("Illegal head address");
24712471
case XD_ERR_ISEC:
2472-
return ("Illgal sector address");
2472+
return ("Illegal sector address");
24732473
case XD_ERR_CZER:
24742474
return ("Count zero");
24752475
case XD_ERR_UIMP:

0 commit comments

Comments
 (0)