aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/firewire
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2009-09-08 13:19:05 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2009-09-08 13:19:05 +0000
commit677843147820e9e8d581cf9841ea01a567324d3b (patch)
tree9f7c1709b6ce492cd874120e81e8a117cab4ca7d /sys/dev/firewire
parentb34421bf9cab5d0ad5822abfaa62febedef2d9a1 (diff)
downloadsrc-677843147820e9e8d581cf9841ea01a567324d3b.tar.gz
src-677843147820e9e8d581cf9841ea01a567324d3b.zip
Revert previous commit and add myself to the list of people who should
know better than to commit with a cat in the area.
Notes
Notes: svn path=/head/; revision=196970
Diffstat (limited to 'sys/dev/firewire')
-rw-r--r--sys/dev/firewire/fwcrom.c4
-rw-r--r--sys/dev/firewire/fwdev.c1
2 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/firewire/fwcrom.c b/sys/dev/firewire/fwcrom.c
index 9bafd2193c52..8a53bc7fae71 100644
--- a/sys/dev/firewire/fwcrom.c
+++ b/sys/dev/firewire/fwcrom.c
@@ -454,9 +454,9 @@ crom_add_simple_text(struct crom_src *src, struct crom_chunk *parent,
len = strlen(buf);
if (len > MAX_TEXT) {
#if defined(__DragonFly__) || __FreeBSD_version < 500000
- printf("text(%d) truncated to %d.\n", len, MAX_TEXT);
+ printf("text(%d) trancated to %d.\n", len, MAX_TEXT);
#else
- printf("text(%d) truncated to %td.\n", len, MAX_TEXT);
+ printf("text(%d) trancated to %td.\n", len, MAX_TEXT);
#endif
len = MAX_TEXT;
}
diff --git a/sys/dev/firewire/fwdev.c b/sys/dev/firewire/fwdev.c
index 57d68f8f2912..0facb6e3963f 100644
--- a/sys/dev/firewire/fwdev.c
+++ b/sys/dev/firewire/fwdev.c
@@ -844,7 +844,6 @@ out:
err = copyout(ptr, crom_buf->ptr, len);
if (fwdev == NULL)
/* myself */
- /* XXX: Flexelint no sure about modified pointer */
free(ptr, M_FW);
break;
default: