summaryrefslogtreecommitdiff
path: root/usr/src/cmd/fs.d/smbclnt/mount/mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/fs.d/smbclnt/mount/mount.c')
-rw-r--r--usr/src/cmd/fs.d/smbclnt/mount/mount.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr/src/cmd/fs.d/smbclnt/mount/mount.c b/usr/src/cmd/fs.d/smbclnt/mount/mount.c
index de15bcc8e2..a1a413d1e2 100644
--- a/usr/src/cmd/fs.d/smbclnt/mount/mount.c
+++ b/usr/src/cmd/fs.d/smbclnt/mount/mount.c
@@ -33,12 +33,10 @@
*/
/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/param.h>
#include <sys/stat.h>
#include <sys/errno.h>
@@ -146,7 +144,6 @@ main(int argc, char *argv[])
struct smb_ctx sctx, *ctx = &sctx;
struct smbfs_args mdata;
struct stat st;
- extern void dropsuid();
int opt, error, mntflags;
struct mnttab mnt;
struct mnttab *mntp = &mnt;
@@ -159,7 +156,6 @@ main(int argc, char *argv[])
#define TEXT_DOMAIN "SYS_TEST"
#endif
(void) textdomain(TEXT_DOMAIN);
- dropsuid();
if (argc == 2) {
if (strcmp(argv[1], "-h") == 0) {
usage();