It only takes one extra line to say: sprintf(s,"%s: %s",frob,mumble); /* or whatever else you want */ perror(s);-- Mark Weiser UUCP: {seismo,allegra,brl-bmd}!umcp-cs!mark CSNet: mark at umcp-cs ARPA: mark at maryland