From 880a7dbd1caad11f0bdac3d3ae0341505333144e Mon Sep 17 00:00:00 2001 From: Wim Van Sebroeck Date: Thu, 2 Mar 2006 20:05:16 +0100 Subject: [PATCH] --- yaml --- r: 25236 b: refs/heads/master c: 6bbc20bc0b5d9c5a351fb3a027e60e396c1329a6 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/char/watchdog/pcwd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index e59b420a6477..28898c3bccfe 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 369fa25294b8225cb3a7fefabf047a2676bf6abd +refs/heads/master: 6bbc20bc0b5d9c5a351fb3a027e60e396c1329a6 diff --git a/trunk/drivers/char/watchdog/pcwd.c b/trunk/drivers/char/watchdog/pcwd.c index 28a404adf8f0..6d44ca68312d 100644 --- a/trunk/drivers/char/watchdog/pcwd.c +++ b/trunk/drivers/char/watchdog/pcwd.c @@ -269,7 +269,7 @@ static inline void pcwd_get_firmware(void) { int one, ten, hund, minor; - sprintf(pcwd_private.fw_ver_str, "ERROR"); + strcpy(pcwd_private.fw_ver_str, "ERROR"); if (set_command_mode()) { one = send_isa_command(CMD_ISA_VERSION_INTEGER);