summaryrefslogtreecommitdiffstats
path: root/usr.sbin/setfmac/setfmac.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-12-02 13:25:01 +0000
committerrwatson <rwatson@FreeBSD.org>2002-12-02 13:25:01 +0000
commitfd96ca8e031cd18b688d41ab6df2c9963565cfa1 (patch)
treefd31b4998f16c0334cb49220ef76b660f12d3f37 /usr.sbin/setfmac/setfmac.c
parent9cab8331e52cae5906457868d00dc7941e032aaa (diff)
downloadFreeBSD-src-fd96ca8e031cd18b688d41ab6df2c9963565cfa1.zip
FreeBSD-src-fd96ca8e031cd18b688d41ab6df2c9963565cfa1.tar.gz
Fix 32-bit/64-bit bug in format string.
Approved by: re Submitted by: marcel Pointy hat to: green
Diffstat (limited to 'usr.sbin/setfmac/setfmac.c')
-rw-r--r--usr.sbin/setfmac/setfmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/setfmac/setfmac.c b/usr.sbin/setfmac/setfmac.c
index a54e29f..01ab500 100644
--- a/usr.sbin/setfmac/setfmac.c
+++ b/usr.sbin/setfmac/setfmac.c
@@ -269,7 +269,7 @@ add_specs(struct label_specs *specs, const char *file, int is_sebsd)
free(line);
}
fclose(fp);
- warnx("%s: read %u specifications", file, spec->nentries);
+ warnx("%s: read %lu specifications", file, spec->nentries);
STAILQ_INSERT_TAIL(&specs->head, spec, link);
}
OpenPOWER on IntegriCloud