search for: prio64

Displaying 4 results from an estimated 4 matches for "prio64".

Did you mean: prii64
2015 Jul 02
0
[PATCH] Fix various -Wformat problems.
...s[len++] = mbr_id_str; } else strings[len++] = NULL; diff --git a/cat/ls.c b/cat/ls.c index 3bced54..987dcef 100644 --- a/cat/ls.c +++ b/cat/ls.c @@ -702,7 +702,7 @@ output_int64_perms (int64_t i) { next_field (); /* csv doesn't need escaping */ - if (printf ("%04" PRIo64, i) < 0) { + if (printf ("%04" PRIo64, (uint64_t) i) < 0) { perror ("printf"); exit (EXIT_FAILURE); } @@ -774,7 +774,8 @@ output_int64_dev (int64_t i) next_field (); /* csv doesn't need escaping */ - if (printf ("%d:%d", major (dev), mi...
2015 Jul 02
0
[PATCH v2] Fix various -Wformat problems.
...s[len++] = mbr_id_str; } else strings[len++] = NULL; diff --git a/cat/ls.c b/cat/ls.c index 3bced54..987dcef 100644 --- a/cat/ls.c +++ b/cat/ls.c @@ -702,7 +702,7 @@ output_int64_perms (int64_t i) { next_field (); /* csv doesn't need escaping */ - if (printf ("%04" PRIo64, i) < 0) { + if (printf ("%04" PRIo64, (uint64_t) i) < 0) { perror ("printf"); exit (EXIT_FAILURE); } @@ -774,7 +774,8 @@ output_int64_dev (int64_t i) next_field (); /* csv doesn't need escaping */ - if (printf ("%d:%d", major (dev), mi...
2012 Dec 06
2
[PATCH 0/2] Two build fixes for libldm
Two simple build fixes for libldm. Well, the first isn't a build fix as such, but a code improvement. Rich.
2016 Apr 04
2
[PATCH 1/2] Use 'error' function consistently throughout.
...{ - perror ("printf"); - exit (EXIT_FAILURE); - } + if (r < 0) + error (EXIT_FAILURE, errno, "printf"); } static void @@ -701,10 +676,8 @@ output_int64_perms (int64_t i) { next_field (); /* csv doesn't need escaping */ - if (printf ("%04" PRIo64, (uint64_t) i) < 0) { - perror ("printf"); - exit (EXIT_FAILURE); - } + if (printf ("%04" PRIo64, (uint64_t) i) < 0) + error (EXIT_FAILURE, errno, "printf"); } static void @@ -735,23 +708,17 @@ output_int64_time (int64_t secs, int64_t nsecs) s...