pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/plist-utils Fix format string. Bump version.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9625c8949b14
branches:  trunk
changeset: 355937:9625c8949b14
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Dec 16 00:01:04 2016 +0000

description:
Fix format string. Bump version.

diffstat:

 pkgtools/plist-utils/Makefile              |  4 ++--
 pkgtools/plist-utils/files/plist_getline.c |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (40 lines):

diff -r af0dc407ee1a -r 9625c8949b14 pkgtools/plist-utils/Makefile
--- a/pkgtools/plist-utils/Makefile     Fri Dec 16 00:00:25 2016 +0000
+++ b/pkgtools/plist-utils/Makefile     Fri Dec 16 00:01:04 2016 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2016/10/01 18:37:15 kamil Exp $
+# $NetBSD: Makefile,v 1.2 2016/12/16 00:01:04 joerg Exp $
 #
 
-PKGNAME=       plist-utils-20160731
+PKGNAME=       plist-utils-20161216
 CATEGORIES=    pkgtools
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r af0dc407ee1a -r 9625c8949b14 pkgtools/plist-utils/files/plist_getline.c
--- a/pkgtools/plist-utils/files/plist_getline.c        Fri Dec 16 00:00:25 2016 +0000
+++ b/pkgtools/plist-utils/files/plist_getline.c        Fri Dec 16 00:01:04 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: plist_getline.c,v 1.1 2016/10/01 18:37:15 kamil Exp $ */
+/* $NetBSD: plist_getline.c,v 1.2 2016/12/16 00:01:04 joerg Exp $ */
 
 /*-
  * Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: plist_getline.c,v 1.1 2016/10/01 18:37:15 kamil Exp $");
+__RCSID("$NetBSD: plist_getline.c,v 1.2 2016/12/16 00:01:04 joerg Exp $");
 
 #include <assert.h>
 #include <err.h>
@@ -53,7 +53,7 @@
        if ((buf = fgetln(stream, &len)) != NULL) {
                ++lineno;
                if (len == 0) {
-                       warnx("Empty line at %d -- skipped", lineno);
+                       warnx("Empty line at %zu -- skipped", lineno);
                        goto repeat;
                }
                /* Handle proper line with the \n ending */



Home | Main Index | Thread Index | Old Index