Created
June 16, 2017 17:30
-
-
Save aprieger-llnw/5fd2d6cd7562aeac1a261e7b4b72f559 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/home/aprieger/repos/freebsd_master/freebsd/cddl/contrib/opensolaris/cmd/zdb/zdb.c:1149:41: warning: format specifies type 'long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] | |
zfs_history_event_names[ievent], txg, | |
^~~ | |
/usr/home/aprieger/repos/freebsd_master/freebsd/cddl/contrib/opensolaris/cmd/zdb/zdb.c:2049:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] | |
(void) printf(header ? header : ""); | |
^~~~~~~~~~~~~~~~~~~~ | |
/usr/home/aprieger/repos/freebsd_master/freebsd/cddl/contrib/opensolaris/cmd/zdb/zdb.c:2049:16: note: treat the string as an argument to avoid this | |
(void) printf(header ? header : ""); | |
^ | |
"%s", | |
/usr/home/aprieger/repos/freebsd_master/freebsd/cddl/contrib/opensolaris/cmd/zdb/zdb.c:2061:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] | |
(void) printf(footer ? footer : ""); | |
^~~~~~~~~~~~~~~~~~~~ | |
/usr/home/aprieger/repos/freebsd_master/freebsd/cddl/contrib/opensolaris/cmd/zdb/zdb.c:2061:16: note: treat the string as an argument to avoid this | |
(void) printf(footer ? footer : ""); | |
^ | |
"%s", | |
3 warnings generated. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment