Module Name: src Committed By: rillig Date: Mon Feb 15 07:18:20 UTC 2021
Modified Files: src/tests/usr.bin/xlint/lint1: msg_124.c Log Message: tests/lint: fix comments in test for message 124 To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/tests/usr.bin/xlint/lint1/msg_124.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/usr.bin/xlint/lint1/msg_124.c diff -u src/tests/usr.bin/xlint/lint1/msg_124.c:1.6 src/tests/usr.bin/xlint/lint1/msg_124.c:1.7 --- src/tests/usr.bin/xlint/lint1/msg_124.c:1.6 Sun Jan 24 11:21:58 2021 +++ src/tests/usr.bin/xlint/lint1/msg_124.c Mon Feb 15 07:18:20 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: msg_124.c,v 1.6 2021/01/24 11:21:58 rillig Exp $ */ +/* $NetBSD: msg_124.c,v 1.7 2021/02/15 07:18:20 rillig Exp $ */ # 3 "msg_124.c" // Test for message: illegal pointer combination, op %s [124] @@ -35,11 +35,11 @@ compare_pointers(const void *vp, const c ok(vp == (void *)0); ok(cp == (void *)0); ok(ip == (void *)0); - ok(fp == (void *)0); /* wrong 124 before 2021-01-25 */ + ok(fp == (void *)0); /* wrong 274 before 2021-01-25 */ ok((void *)0 == vp); ok((void *)0 == cp); ok((void *)0 == ip); - ok((void *)0 == fp); /* wrong 124 before 2021-01-25 */ + ok((void *)0 == fp); /* wrong 274 before 2021-01-25 */ ok(vp == 0); ok(cp == 0); ok(ip == 0);