aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1993-09-12 20:45:53 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1993-09-12 20:45:53 +0000
commit599bf623a8aad59036091a1f437f57643daf5883 (patch)
tree1c273f212cf95ec365fb8f774a5ba29424dc701d /usr.sbin
parent7cb39e249bca7e5fbfe43bf3d60b7bbcb0be25da (diff)
downloadsrc-599bf623a8aad59036091a1f437f57643daf5883.tar.gz
src-599bf623a8aad59036091a1f437f57643daf5883.zip
Fixed an embarassing bug with @owner, @mode & @group
Notes
Notes: svn path=/head/; revision=446
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_install/lib/plist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_install/lib/plist.c b/usr.sbin/pkg_install/lib/plist.c
index 8e0d2f86e6b9..1f2e09fc1625 100644
--- a/usr.sbin/pkg_install/lib/plist.c
+++ b/usr.sbin/pkg_install/lib/plist.c
@@ -247,17 +247,17 @@ write_plist(Package *pkg, FILE *fp)
break;
case PLIST_CHMOD:
- fprintf(fp, "%cchmod %s\n", CMD_CHAR,
+ fprintf(fp, "%cmode %s\n", CMD_CHAR,
plist->name ? plist->name : "");
break;
case PLIST_CHOWN:
- fprintf(fp, "%cchown %s\n", CMD_CHAR,
+ fprintf(fp, "%cowner %s\n", CMD_CHAR,
plist->name ? plist->name : "");
break;
case PLIST_CHGRP:
- fprintf(fp, "%cchgrp %s\n", CMD_CHAR,
+ fprintf(fp, "%cgroup %s\n", CMD_CHAR,
plist->name ? plist->name : "");
break;