snmp_log with LOG_ERR for success case (Created directory)

ashok kumar <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CACtqA-ua70rkh3KdC9b2xwrexA+xSp3sJaQ85Ei8Rx4Mt+43nw@mail.gmail.com>
Hello Team,

I see snmp_log with LOG_ERR for success case (Created directory).

File name:snmplib/system.c
Function name: mkdirhier

            if (mkdir(buf, mode) == -1)
            {
                free(ourcopy);
                return SNMPERR_GENERR;
            } else {
                snmp_log(LOG_ERR, "Created directory: %s\n", buf);
            }

Is this expected?

Regards,
Ashok

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.