"Mark Cullen" <mark.cullen at xxxxxxxxxxxxx> schreef: > --- hunt.c.old 2004-10-27 16:44:06.000000000 +0100 > +++ hunt.c 2004-10-27 18:58:37.000000000 +0100 > @@ -59,16 +59,34 @@ > [snip] > + strncpy(tmp_cp, "/dev/", 6); > + strncat(tmp_cp, cp, strlen(cp)); > [snip] Mind you, using strlcpy() and strlcat() is advised, aswell as indenting your source code ;-)