PR_fprintf(fd, fmt, entry->GetName(), entry->GetDate(), extraData);
PR_fprintf(fd, fmt, entry->GetName().get(), entry->GetDate(), extraData);
AutoRegEntryWriter(nsHashKey *aKey, void *aData, void* aClosure){    PRFileDesc* fd = (PRFileDesc*) aClosure;    AutoRegEntry* entry = (AutoRegEntry*) aData;    const char* extraData = entry->GetOptionalData();    const char *fmt;    if (extraData)        fmt = "%s,%lld,%s\n";    else        fmt = "%s,%lld\n";    PR_fprintf(fd, fmt, entry->GetName(), entry->GetDate(), extraData);        return PR_TRUE;}