correct arg order to strlcpy/strlcat under #ifdef alpha

This commit is contained in:
sam 2002-10-17 18:23:21 +00:00
parent 18c52287ef
commit 8680a53ace

View File

@ -325,8 +325,8 @@ Int_Open_Disk(const char *name, u_long size)
char pname[20];
int j,k;
strlcpy(pname, sizeof(pname), _PATH_DEV);
strlcat(pname, sizeof(pname), name);
strlcpy(pname, _PATH_DEV, sizeof(pname));
strlcat(pname, name, sizeof(pname));
j = open(pname, O_RDONLY);
if (j < 0) {
#ifdef DEBUG