Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-7]: src/sbin/gpt Pull up the following revisions(s) (requested by...



details:   https://anonhg.NetBSD.org/src/rev/bcbf0508d262
branches:  netbsd-7
changeset: 445141:bcbf0508d262
user:      sborrill <sborrill%NetBSD.org@localhost>
date:      Mon Oct 15 07:55:49 2018 +0000

description:
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.

diffstat:

 sbin/gpt/gpt.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 7ffcbae23884 -r bcbf0508d262 sbin/gpt/gpt.c
--- a/sbin/gpt/gpt.c    Tue Oct 09 15:54:57 2018 +0000
+++ b/sbin/gpt/gpt.c    Mon Oct 15 07:55: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.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 @@
                        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