APUE course source code
guowenxue
2025-11-18 4de24b43bfc373f46f0510703cde7562fb8cb703
project/4.mqttd/booster/logger.c
@@ -101,7 +101,7 @@
    {
        if ( !(fp = fopen(fname, "a+")) )
        {
            fprintf(stderr, "%s() failed: %s\n", __func__, strerror(errno));
            fprintf(stderr, "%s() %s failed: %s\n", __func__, fname, strerror(errno));
            return -2;
        }
        L.fp = fp;