Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/sysinst Fix typo (pointed out by rillig)
details: https://anonhg.NetBSD.org/src/rev/694734ee50cb
branches: trunk
changeset: 369755:694734ee50cb
user: martin <martin%NetBSD.org@localhost>
date: Tue Aug 30 11:45:28 2022 +0000
description:
Fix typo (pointed out by rillig)
diffstat:
usr.sbin/sysinst/disks.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r f1a1693b7c91 -r 694734ee50cb usr.sbin/sysinst/disks.c
--- a/usr.sbin/sysinst/disks.c Tue Aug 30 11:44:15 2022 +0000
+++ b/usr.sbin/sysinst/disks.c Tue Aug 30 11:45:28 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: disks.c,v 1.88 2022/08/30 11:44:15 martin Exp $ */
+/* $NetBSD: disks.c,v 1.89 2022/08/30 11:45:28 martin Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -151,7 +151,7 @@
size_t i, last = ~0;
for (i = 0; i < len && src[i]; i++) {
- if (isspace((unsigned int)src[i]))
+ if (isspace((unsigned char)src[i]))
last = i;
else
last = ~0;
Home |
Main Index |
Thread Index |
Old Index