Turn a strcpy()+strncat()+'\0' into an equivalent snprintf().
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Helge Deller <deller@gmx.de>
        fix = &info->fix;
        var = &info->var;
 
-       if (name) {
-               strcpy(fix->id, "OFfb ");
-               strncat(fix->id, name, sizeof(fix->id) - sizeof("OFfb "));
-               fix->id[sizeof(fix->id) - 1] = '\0';
-       } else
+       if (name)
+               snprintf(fix->id, sizeof(fix->id), "OFfb %s", name);
+       else
                snprintf(fix->id, sizeof(fix->id), "OFfb %pOFn", dp);