]> Zhao Yanbai Git Server - minix.git/commitdiff
Boot monitor setting of device _names_ no longer necessary
authorBen Gras <ben@minix3.org>
Fri, 22 Jul 2005 18:31:19 +0000 (18:31 +0000)
committerBen Gras <ben@minix3.org>
Fri, 22 Jul 2005 18:31:19 +0000 (18:31 +0000)
boot/boot.c

index a93fd764c40716bec65bf17d1ffd40bfc3e50b48..f913f934f276311a9d5d74f22b44174512bba4da 100755 (executable)
@@ -742,14 +742,6 @@ int b_setenv(int flags, char *name, char *arg, char *value)
        e->arg= copystr(arg);
        e->value= copystr(value);
 
-       if(e->flags & E_DEV) {
-               char newname[30];
-               strncpy(newname, name, sizeof(newname)-3);
-               newname[sizeof(newname)-4] = '\0';
-               strcat(newname, "_n");
-               b_setenv(E_VAR, newname, arg, value);
-       }
-
        return 0;
 }