summaryrefslogtreecommitdiff
path: root/netsvcs
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-01-20 17:12:46 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-01-20 17:12:46 +0000
commitc5e6dcf57aab34e6fd9f3fa94e3728b5f6f02331 (patch)
tree6195447ca8f987aca78294247f12476a5eb4829b /netsvcs
parent583e39da339a160ea310f0c47fa64eee35169a19 (diff)
downloadATCD-c5e6dcf57aab34e6fd9f3fa94e3728b5f6f02331.tar.gz
replaced %d format with %hu for u_short arg
Diffstat (limited to 'netsvcs')
-rw-r--r--netsvcs/clients/Naming/Dump_Restore/Dump_Restore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/netsvcs/clients/Naming/Dump_Restore/Dump_Restore.cpp b/netsvcs/clients/Naming/Dump_Restore/Dump_Restore.cpp
index 84505eadd6b..930be55a812 100644
--- a/netsvcs/clients/Naming/Dump_Restore/Dump_Restore.cpp
+++ b/netsvcs/clients/Naming/Dump_Restore/Dump_Restore.cpp
@@ -76,7 +76,7 @@ Dump_Restore::handle_input (ACE_HANDLE)
break;
case 'H' :
case 'h' :
- if (::scanf ("%s %d", buf1, &port) <= 0)
+ if (::scanf ("%s %hu", buf1, &port) <= 0)
break;
result = set_host (buf1, port);
break;