- "\t:lg=%s:\\\n\t:T144=\"/hp/%s\":\\\n\t:vm=rfc1048:\n\n",
- shortname, location, contact, name, net, hwaddr, addr, logaddr,
- shortname);
+ "\t:lg=%s:\\\n\t:vm=rfc1048:",
+ shortname, location, contact, name, net, hwaddr, addr, logaddr);
+ if (!strncmp(hwtype, "HP", 2))
+ fprintf(out, "\\\n\t:T144=\"/hp/%s\":", shortname);
+ fprintf(out, "\n\n");