Change 'bcmp' to 'memcmp'.
authorGregory Minshall <minshall@ucbvax.Berkeley.EDU>
Mon, 1 Jun 1987 08:58:04 +0000 (00:58 -0800)
committerGregory Minshall <minshall@ucbvax.Berkeley.EDU>
Mon, 1 Jun 1987 08:58:04 +0000 (00:58 -0800)
SCCS-vsn: usr.bin/tn3270/tools/mkastosc/mkastosc.c 1.9

usr/src/usr.bin/tn3270/tools/mkastosc/mkastosc.c

index 2987c8b..38bf1f3 100644 (file)
@@ -107,12 +107,12 @@ char      *argv[];
                        (strcmp(Ph->name[i], this->name) == 0)) {
                    printf("\t{ 0x%02x, %s, ",
                                Ph-Hits, shiftof[i]);
                        (strcmp(Ph->name[i], this->name) == 0)) {
                    printf("\t{ 0x%02x, %s, ",
                                Ph-Hits, shiftof[i]);
-                   if (bcmp("AID_", this->name, 4) == 0) {     /* AID key */
+                   if (memcmp("AID_", this->name, 4) == 0) {   /* AID key */
                        printf("FCN_AID, ");
                    } else {
                        printf("%s, ", Ph->name[i]);
                    }
                        printf("FCN_AID, ");
                    } else {
                        printf("%s, ", Ph->name[i]);
                    }
-                   if (bcmp("PF", this->name+4, 2) == 0) {
+                   if (memcmp("PF", this->name+4, 2) == 0) {
                        printf("\"PFK%s\" },\n", Ph->name[i]+4+2);
                    } else {
                        printf("\"%s\" },\n", Ph->name[i]+4);
                        printf("\"PFK%s\" },\n", Ph->name[i]+4+2);
                    } else {
                        printf("\"%s\" },\n", Ph->name[i]+4);