svn commit: r349132 - head/sys/dev/pwm

Ian Lepore ian at FreeBSD.org
Mon Jun 17 03:48:45 UTC 2019


Author: ian
Date: Mon Jun 17 03:48:44 2019
New Revision: 349132
URL: https://svnweb.freebsd.org/changeset/base/349132

Log:
  Add back a const qualifier I somehow fumbled away between test-building
  and committing recent changes.

Modified:
  head/sys/dev/pwm/pwmc.c

Modified: head/sys/dev/pwm/pwmc.c
==============================================================================
--- head/sys/dev/pwm/pwmc.c	Mon Jun 17 03:40:00 2019	(r349131)
+++ head/sys/dev/pwm/pwmc.c	Mon Jun 17 03:48:44 2019	(r349132)
@@ -132,7 +132,7 @@ pwmc_setup_label(struct pwmc_softc *sc)
 static void
 pwmc_setup_label(struct pwmc_softc *sc)
 {
-	char *label;
+	const char *label;
 
 	if (resource_string_value(device_get_name(sc->dev),
 	    device_get_unit(sc->dev), "label", &label) == 0) {


More information about the svn-src-head mailing list