Skip to content

Instantly share code, notes, and snippets.

@aprieger-llnw
Created June 16, 2017 17:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aprieger-llnw/c7b4d3316c65bb5003229a420752557e to your computer and use it in GitHub Desktop.
Save aprieger-llnw/c7b4d3316c65bb5003229a420752557e to your computer and use it in GitHub Desktop.
/usr/home/aprieger/repos/freebsd_master/freebsd/cddl/contrib/opensolaris/cmd/ztest/ztest.c:2260:11: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat]
tag, (int64_t)id, index);
^~~~~~~~~~~
/usr/home/aprieger/repos/freebsd_master/freebsd/cddl/contrib/opensolaris/cmd/ztest/ztest.c:2260:24: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
tag, (int64_t)id, index);
^~~~~
/usr/home/aprieger/repos/freebsd_master/freebsd/cddl/contrib/opensolaris/cmd/ztest/ztest.c:3389:28: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
"%s@s1_%llu", osname, id);
~~~~ ^~
%lu
/usr/home/aprieger/repos/freebsd_master/freebsd/cddl/contrib/opensolaris/cmd/ztest/ztest.c:3391:28: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
"%s/c1_%llu", osname, id);
~~~~ ^~
%lu
/usr/home/aprieger/repos/freebsd_master/freebsd/cddl/contrib/opensolaris/cmd/ztest/ztest.c:3393:32: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
"%s@s2_%llu", clone1name, id);
~~~~ ^~
%lu
/usr/home/aprieger/repos/freebsd_master/freebsd/cddl/contrib/opensolaris/cmd/ztest/ztest.c:3395:28: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
"%s/c2_%llu", osname, id);
~~~~ ^~
%lu
/usr/home/aprieger/repos/freebsd_master/freebsd/cddl/contrib/opensolaris/cmd/ztest/ztest.c:3397:32: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
"%s@s3_%llu", clone1name, id);
~~~~ ^~
%lu
/usr/home/aprieger/repos/freebsd_master/freebsd/cddl/contrib/opensolaris/cmd/ztest/ztest.c:3436:28: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
"%s@s1_%llu", osname, id);
~~~~ ^~
%lu
/usr/home/aprieger/repos/freebsd_master/freebsd/cddl/contrib/opensolaris/cmd/ztest/ztest.c:3438:28: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
"%s/c1_%llu", osname, id);
~~~~ ^~
%lu
/usr/home/aprieger/repos/freebsd_master/freebsd/cddl/contrib/opensolaris/cmd/ztest/ztest.c:3440:32: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
"%s@s2_%llu", clone1name, id);
~~~~ ^~
%lu
/usr/home/aprieger/repos/freebsd_master/freebsd/cddl/contrib/opensolaris/cmd/ztest/ztest.c:3442:28: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
"%s/c2_%llu", osname, id);
~~~~ ^~
%lu
/usr/home/aprieger/repos/freebsd_master/freebsd/cddl/contrib/opensolaris/cmd/ztest/ztest.c:3444:32: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
"%s@s3_%llu", clone1name, id);
~~~~ ^~
%lu
/usr/home/aprieger/repos/freebsd_master/freebsd/cddl/contrib/opensolaris/cmd/ztest/ztest.c:4268:7: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
id, value);
^~
/usr/home/aprieger/repos/freebsd_master/freebsd/cddl/contrib/opensolaris/cmd/ztest/ztest.c:4268:11: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
id, value);
^~~~~
/usr/home/aprieger/repos/freebsd_master/freebsd/cddl/contrib/opensolaris/cmd/ztest/ztest.c:4674:59: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
(void) snprintf(snapname, sizeof (snapname), "sh1_%llu", id);
~~~~ ^~
%lu
/usr/home/aprieger/repos/freebsd_master/freebsd/cddl/contrib/opensolaris/cmd/ztest/ztest.c:4677:29: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
"%s/ch1_%llu", osname, id);
~~~~ ^~
%lu
/usr/home/aprieger/repos/freebsd_master/freebsd/cddl/contrib/opensolaris/cmd/ztest/ztest.c:4678:49: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
(void) snprintf(tag, sizeof (tag), "tag_%llu", id);
~~~~ ^~
%lu
17 warnings generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment