Module Name: src Committed By: sborrill Date: Mon Oct 15 07:55:50 UTC 2018
Modified Files: src/sbin/gpt [netbsd-7]: gpt.c Log Message: Pull up the following revisions(s) (requested by mlelstv in ticket #1643): sbin/gpt/gpt.c: revision 1.76 When changing entries skip those that do not match the -L option. Should fix PR 53668. To generate a diff of this commit: cvs rdiff -u -r1.28.2.2 -r1.28.2.3 src/sbin/gpt/gpt.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sbin/gpt/gpt.c diff -u src/sbin/gpt/gpt.c:1.28.2.2 src/sbin/gpt/gpt.c:1.28.2.3 --- src/sbin/gpt/gpt.c:1.28.2.2 Mon Aug 13 16:12:12 2018 +++ src/sbin/gpt/gpt.c Mon Oct 15 07:55:49 2018 @@ -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.28.2.2 2018/08/13 16:12:12 martin Exp $"); +__RCSID("$NetBSD: gpt.c,v 1.28.2.3 2018/10/15 07:55:49 sborrill Exp $"); #endif #include <sys/param.h> @@ -1043,7 +1043,7 @@ gpt_change_ent(gpt_t gpt, const struct g 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; }