tools lib api: Renaming pr_warning to pr_warn
[sfrench/cifs-2.6.git] / tools / lib / api / fs / fs.c
index 7aba8243a0e7cbd3fa4726910db27bcaa3be6d1a..11b3885e833ed8eb4cfd7f32ba981abcdf58e5cf 100644 (file)
@@ -381,8 +381,8 @@ int filename__read_str(const char *filename, char **buf, size_t *sizep)
                n = read(fd, bf + size, alloc_size - size);
                if (n < 0) {
                        if (size) {
-                               pr_warning("read failed %d: %s\n", errno,
-                                        strerror_r(errno, sbuf, sizeof(sbuf)));
+                               pr_warn("read failed %d: %s\n", errno,
+                                       strerror_r(errno, sbuf, sizeof(sbuf)));
                                err = 0;
                        } else
                                err = -errno;