summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lilv_internal.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/lilv_internal.h b/src/lilv_internal.h
index af0750f..ca553ca 100644
--- a/src/lilv_internal.h
+++ b/src/lilv_internal.h
@@ -382,11 +382,14 @@ lilv_dlfunc(void* handle, const char* symbol)
static const LV2_Feature* const dman_features = { NULL };
#endif
-#define LILV_ERROR(str) fprintf(stderr, "ERROR: %s: " str, __func__)
-#define LILV_ERRORF(fmt, ...) fprintf(stderr, "ERROR: %s: " fmt, __func__, __VA_ARGS__)
-
-#define LILV_WARN(str) fprintf(stderr, "WARNING: %s: " str, __func__)
-#define LILV_WARNF(fmt, ...) fprintf(stderr, "WARNING: %s: " fmt, __func__, __VA_ARGS__)
+#define LILV_ERROR(str) fprintf(stderr, "%s: error: " str, \
+ __func__)
+#define LILV_ERRORF(fmt, ...) fprintf(stderr, "%s: error: " fmt, \
+ __func__, __VA_ARGS__)
+#define LILV_WARN(str) fprintf(stderr, "%s: warning: " str, \
+ __func__)
+#define LILV_WARNF(fmt, ...) fprintf(stderr, "%s: warning: " fmt, \
+ __func__, __VA_ARGS__)
#ifdef __cplusplus
}