Module Name: src Committed By: thorpej Date: Sun Jun 7 00:56:05 UTC 2020
Modified Files: src/usr.sbin/hdaudioctl: graph.c Log Message: Update for proplib(3) API changes. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/hdaudioctl/graph.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.sbin/hdaudioctl/graph.c diff -u src/usr.sbin/hdaudioctl/graph.c:1.3 src/usr.sbin/hdaudioctl/graph.c:1.4 --- src/usr.sbin/hdaudioctl/graph.c:1.3 Sat Mar 28 14:09:59 2015 +++ src/usr.sbin/hdaudioctl/graph.c Sun Jun 7 00:56:05 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: graph.c,v 1.3 2015/03/28 14:09:59 jmcneill Exp $ */ +/* $NetBSD: graph.c,v 1.4 2020/06/07 00:56:05 thorpej Exp $ */ /* * Copyright (c) 2009 Precedence Technologies Ltd <supp...@precedence.co.uk> @@ -165,7 +165,7 @@ hdaudioctl_graph(int fd, int argc, char iter = prop_array_iterator(connlist); prop_object_iterator_reset(iter); while ((nnid = prop_object_iterator_next(iter)) != NULL) { - nid = prop_number_unsigned_integer_value(nnid); + nid = prop_number_unsigned_value(nnid); printf(" widget%02Xh -> %s [sametail=widget%02Xh];\n", nid, buf, nid); }