Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/gpt When changing entries skip those that do not match ...
details: https://anonhg.NetBSD.org/src/rev/7dab49cb8b9d
branches: trunk
changeset: 994004:7dab49cb8b9d
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Sun Oct 14 20:10:49 2018 +0000
description:
When changing entries skip those that do not match the -L option.
Should fix PR 53668.
diffstat:
sbin/gpt/gpt.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 72bb00aee1ed -r 7dab49cb8b9d sbin/gpt/gpt.c
--- a/sbin/gpt/gpt.c Sun Oct 14 19:01:00 2018 +0000
+++ b/sbin/gpt/gpt.c Sun Oct 14 20:10:49 2018 +0000
@@ -35,7 +35,7 @@
__FBSDID("$FreeBSD: src/sbin/gpt/gpt.c,v 1.16 2006/07/07 02:44:23 marcel Exp $");
#endif
#ifdef __RCSID
-__RCSID("$NetBSD: gpt.c,v 1.75 2018/07/03 03:41:23 jnemeth Exp $");
+__RCSID("$NetBSD: gpt.c,v 1.76 2018/10/14 20:10:49 mlelstv Exp $");
#endif
#include <sys/param.h>
@@ -1043,7 +1043,7 @@
utf16_to_utf8(ent->ent_name,
__arraycount(ent->ent_name),
utfbuf, __arraycount(utfbuf));
- if (strcmp((char *)find->label, (char *)utfbuf) == 0)
+ if (strcmp((char *)find->label, (char *)utfbuf) != 0)
continue;
}
Home |
Main Index |
Thread Index |
Old Index